Hi,
Can we run File-Aid in Batch? Please advise. If there is a sample JCL, could you please help me with that.
File-Aid in Batch.
- Anuj Dhawan
- Founder
- Posts: 2806
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: File-Aid in Batch.
Yes, you can.
The JCL used to execute File-AID/Batch follows the same format and structure as a typical MVS batch
job. The JCL must include a job statement, execute statement, and data definition statements for all
input and output files. Below is an example:
The JCL used to execute File-AID/Batch follows the same format and structure as a typical MVS batch
job. The JCL must include a job statement, execute statement, and data definition statements for all
input and output files. Below is an example:
Code: Select all
//JOBNAME JOB JOB CARD INFORMATION
//STEPNAME EXEC PGM=FILEAID,REGION=8M
//STEPLIB DD DSN=File-AID LOAD LIBRARY NAMES
//STEPCAT DD DSN=CATALOG NAME
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//DDxx DD DSN=INPUT DATASET NAME
//DDxxO DD DSN=OUTPUT DATASET NAME
//DDxxRF DD DSN=REFORMAT DEFINITION DATASET NAME
//DDxxRL DD DSN=RECORD LAYOUT DATASET NAME
//DDxxRLN DD DSN=COMPARE NEW DATASET - RECORD LAYOUT DATASET NAME
//DDxxXR DD DSN=XREF DATASET NAME (XREF MEMBER)
//DDxxXRN DD DSN=COMPARE NEW DATASET - XREF DATASET NAME (XREF MEMBER)
//DDxxSC DD DSN=SELECTION CRITERIA DATASET NAME (SC MEMBER)
//DDxxSCN DD DSN=COMPARE NEW DATASET - SELECTION CRITERIA DATASET NAME (SC MEMBER)
//DDxxCP DD DSN=COMPARE CRITERIA DATASET NAME
//DDxxC DD DSN=NEW COMPARE DATASET NAME
//DDxxCOn DD DSN=NEW COMPARE OUTPUT FILES
//DDxxCSV DD DSN=COMMA SEPARATED VALUE OUTPUT FILES
//ANYNAME DD DSN=OUTPUT DATASET NAME
//SYSIN DD *
(CONTROL CARDS)
/*
//
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2806
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: File-Aid in Batch.
In fact, you might want to look at this document from Compuware: https://docs.compuware.com/fa/FA1702/PD ... erence.pdf
Good luck!
Good luck!
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute