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 |
Explain dd statement in jcl?
can we bowse or edit the GDG dataset if it is a tape entry?
What is DYNAMBR in jcl?
Name what parameter directs the output of the job log dataset?
How to pass data to a program that is coded in an exec statement?
When output dataset space is required, what quantity categories are used?
One dataset is creating in the step1 with LRECL of 133 and the same dataset is used in the next step in DISP=SHR mode, but while scanning the JCL the following error is thrwon. Please verify the below JCL $/SEPP030.PROVIDER DD DSN=Z1225BT.F5750PG9.F5910PRV.QC#A6868 //ERRORRPT DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, --ERRORRPT DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=&DISNCD,UNIT=&DELQ, -- DISP= (NEW,CATLG,DELETE),UNIT=DELQ, // SPACE=(TRK, (30,15),RLSE), // DCB=&DCB2 -- DCB= (PPG.METMODEL,BLKSIZE=0,LRECL=133,RECFM=FB) $/SEPP030.ERRORRPT DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT //SEPP040 EXEC PGM=FILEAID,COND= (0002,EQ,SEPP030) //SYSPRINT DD SYSOUT=* //SYSLIST DD SYSOUT=* //DD01 DD DSN=SYSCMN.PROD.CCLIB (F5910EP1),DISP=SHR $/SEPP040.DD01 DD DSN=Z1225BT.TEST.CCLIB (F5910EP1) E1 - DSS20791E - DATA SET 'Z1225BT.F5910EPP.ERRORRPT.AOUTPUT' HAS AN LRECL OF 133 COULD NOT BE OPENED BECAUSE THE CODED LRECL WAS 80. // DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, -- DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=SHR $/ DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT please find the error code in the above mentioned lines and please suggest me about the error and the solution for that.
What is use of restart and how to use it?
how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?
How are datasets concatenated?
how to count the number of members in pds?
We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?