How do you override a specific DDNAME/SYSIN in PROC from a JCL?
Answers were Sorted based on User's Feedback
Answer / madhuri tungal
Take a look @ below example.
in JOB
//.......JOB....
//.... JCLLIB OREDR=(PROC-LIB)
//STEP1 EXEC PROC-NAME
//PROCSTEP.DDNAME DD DSN=.......
//...
//...
/*
| Is This Answer Correct ? | 56 Yes | 6 No |
Answer / nikhil
To override a specific ddname in procedure.
//STEPNAME DDNAME DDDSN=XYZ.NIK.PS
| Is This Answer Correct ? | 5 Yes | 28 No |
When we give TYPERUN = SCAN , what are the syntax errors we get?
wht do u mean by inrec and outrec ?
what happens if job falls in loop ? how to resolve it ?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Whats error code s222?
How to find out the number of records in a file using JCL
Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!
If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
What is condition checking in jcl? Is this possible?
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.