How to send data from cobol program to jcl?
Answers were Sorted based on User's Feedback
Answer / gaurav
We can set the RETURN-CODE in COBOL which is passed to JCL
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / challa srinivas
We can send output as a (PDS member) with DISP=SHR. The DISP applies to the PDS and not to specific member.
Is This Answer Correct ? | 0 Yes | 2 No |
What is the improvement to COND= in the latest version of MVS?
when can a job time-out occur? How to overcome that?
Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?
Explain about LMCLOSE�close a data set
For how long a job can be executed continuously in a mainframe ?
Can you delete the GDG base without deleting GDG generations ?
I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.
Explain the function of the dd dcb keyword?
When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?
how many types of sorts are there in jcl?
i have job card like this //job ***** //step1 exec pgm=iebgener //sysut1 dd dsn=main.sss,disp=shr // dd dsn=main1.sss,disp=shr // dd dsn=main2.sss,disp=shr //sysut2 dd dsn=out1.mmm ,disp=(new,catlg,delete) dcb=( ) // sysin dd * like this what i have to do to skip dsn=main1.sss please giveme answer asap
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