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 |
My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)
11 Answers HCL, IBM, L&T, TCS,
How do You skip a Step In JCL?
wht r different types of sorts ?
How to execute a set of JCL statements from a COBOL program ?
what is the meaning of 'sysin dd dummy'
Explain the function of //cntl statement?
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths
i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you
What is the difference between a symbolic and an override in executing a PROC?
Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx
Explain the purpose of dd dummy statement?