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 |
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
What does a disposition of (new,catlg,keep) for a dsn mean?
In job processing, what happens in conversion stage?
Describe the DD statement, its meaning, syntax and keywords?
Explain about LMINIT - generate a data ID for a data set
List in order the hierarchical levels of jcl?
In job processing, what happens in execution stage?
What is the syntax of JCL statement?
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?
My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?
How do you submit JCL via a Cobol program?
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.