how to code instream data in procedure?
Answers were Sorted based on User's Feedback
Answer / sruthi
By using control cards we can pass instream data to procs
| Is This Answer Correct ? | 2 Yes | 0 No |
We can't write
//SYSIN DD *
but i think we can code
//SYSIN DD DSN=SYSIN.PS,DISP=SHR
where SYSIN.PS is a 80 byte file containing SYSIN statements.
Not sure about it.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / mahesh
defined in the same job and also exicuted in the same job
starting with a proc operand
end with a pend statement
| Is This Answer Correct ? | 0 Yes | 0 No |
What happens if both JOBLIB and STEPLIB is specified ?
What is model dataset label(Model DSCB)?
How to execute step2,step1, step3 if step1,2,3 are in order
In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?
How can we see data in TEMPARARY DATA SET in JCL ?
i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes
i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?
what do you mean By spooling? Expand SPOOL?
I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP
can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you