Can you code instream data in a PROC ?
Answers were Sorted based on User's Feedback
Answer / rd
We can't use instream in PROC ,we cau use over ridden
paramater to pass value in Proc
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / rakesh
We can pass those instream data in a PS file and in the
SYSIN DD DSN we will specify the file name
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / ankur
I am prety much sure that Instream data can not be passed
thru a cataloged PROC.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / jerin jose
SYSIN DD * CANNOT BE USED SO WE CANNOT CODE IT
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / pradeep
Jerin Jose,
The Question does not say that the instream data is passed
thru an Instream Proc. If only Instream proc is used, SYSIN
is not possible and the data can only be passed thru' a
PARM in the step. But, if Cataloged Prod is used, then the
SYSIN can be very much used to pass a Instream data.
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / guest
//SYSIN DD *,SYMBOLS=(JCLONLY)
Will do the trick.
| Is This Answer Correct ? | 1 Yes | 0 No |
with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?
What are the parameter we cannot use in procedure?
Does jcl support automatic restart?
//step#3 exec pgm = hkbc762 what is wrong with the syntax?
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 program opens the file in EXTEND mode. What happens ?
Statement1 "We can not use UNCATLG in SMS managed VSAM datasets" Statement2 "We can not delete a SMS managed data set without UNCATLG it" (P-353, Saba Zameer book) Then how do we delete SMS managed VSAM datasets ?
how do you resolve for soc7 error
What are the parameter in the job card wihtout which job won't run........
What are isolation levels? Where do we need to specify them in compiling JCL?
My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.
how do u send return code from cobol to jcl ?
Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2