Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below,
What will be the output file name in each step ?
PROC starts
Step 1 has ID.GDG.FILE(+1)
Step2 has ID.GDG.FILE(+4)
PEND
Similarly, JCL has 2 steps in 2 separate procedure. What will be the output file names here ?
PROC starts
Step 1 has ID.GDG.FILE(+1)
PEND
PROC1 starts
Step2 has ID.GDG.FILE(+4)
PEND
Answers were Sorted based on User's Feedback
Differentiate between the joblib and the steplib statements?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.
What is the meaning of keyword in JCL? What is its opposite?
What is one line to pass PARM from JCL to COBOL?
How do you skip a particular step in a proc/JOB?
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
What is the difference between primary and secondary allocations for a dataset?
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)
I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K
How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?