IN-STREAM DATA NOT ALLOWED IN PROC how can come out from
this problem
Answer Posted / vijay k
In the proc you have to code like this. Keep the INSTREAM
data in the parm card.
In the proc.
//sysin dd dsn= xyz.file(sortcpy),disp=shr
In the parm card, sortcpy should be like this.
sort fields=copy
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
how can you check if a file is empty using jcl?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
Does jcl support automatic restart?
what are the various stages of job processing?
which parameter is use to declare the name of dataset in dd statement?
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 ?
Mention the types of job control statements?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
How does jcl act on a cobol code?
how would you create a temporary dataset? And where will you use them?
which parameter is used to check the syntax of a jcl without executing it?
What do you understand by jcl?
Explain the purpose of dd * statement in jcl?
how you can direct the data to spool using SYSOUT option?
How do you access an uncatalogued dataset in a jcl?