How do you check the syntax of a JCL without running it?
Answers were Sorted based on User's Feedback
Answer / jdriley
You can also use JEM (if your installation has it.)
Is This Answer Correct ? | 34 Yes | 2 No |
Answer / vinothkumar
You Can also use EJCK command before you run the job. this
will check the JCL syntax error.
Is This Answer Correct ? | 17 Yes | 3 No |
Answer / venkatachalam
Try PREP Commends(
Based on instalation).
Thanks!!
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / jim
No to knock answer 1 but "TYPRUN=SCAN" is what works on my
system (no E in type)
Is This Answer Correct ? | 5 Yes | 1 No |
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?
There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?
1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before the job having class '5'? then what is the difference between CLASS and PRTY ? 2) In a same JCL, 2 JOB statements with different Classes and NO PRTY are submitted ? which will run first ? & with different classes and different PRTY also, which will run first now ?
Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?
wht happens if blksize = 0 and lrec = 0 ?
wht is the d/f between positional parameter n keyword parameter ?
How is a dataset passed from one step to another?
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
How can values be passed from the job stream to an executable program?
Explain how can return codes be tested before execution of a job step?
a dd statement has 2 types of parameters. Name them?