Can you code instream data in a PROC ?

Answers were Sorted based on User's Feedback



Can you code instream data in a PROC ?..

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

Can you code instream data in a PROC ?..

Answer / raam

We cant code the following things in a procedure.....

1. job statements
2.sysin DD *
3.sysin DD DATA
4.JES2/JES3 control statements

Is This Answer Correct ?    12 Yes 2 No

Can you code instream data in a PROC ?..

Answer / guest

No.

Is This Answer Correct ?    10 Yes 3 No

Can you code instream data in a PROC ?..

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

Can you code instream data in a PROC ?..

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

Can you code instream data in a PROC ?..

Answer / jerin jose

SYSIN DD * CANNOT BE USED SO WE CANNOT CODE IT

Is This Answer Correct ?    6 Yes 3 No

Can you code instream data in a PROC ?..

Answer / tjw

YES as of z/OS 1.13 with JES2 (No with JES3)

Is This Answer Correct ?    3 Yes 0 No

Can you code instream data in a PROC ?..

Answer / vamsi

No.We can't pass instrean data in a proc.
But in catalogue proc we pass instream data by using ps files.

Is This Answer Correct ?    3 Yes 1 No

Can you code instream data in a PROC ?..

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

Can you code instream data in a PROC ?..

Answer / guest

//SYSIN DD *,SYMBOLS=(JCLONLY)

Will do the trick.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

Explain dd statement in jcl?

0 Answers  


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  


What is DYNAMBR in jcl?

2 Answers   CTS,


Name what parameter directs the output of the job log dataset?

0 Answers  


How to pass data to a program that is coded in an exec statement?

0 Answers  






When output dataset space is required, what quantity categories are used?

0 Answers  


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.

3 Answers   Cognizant,


What is use of restart and how to use it?

0 Answers  


how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?

2 Answers   Steria, TCS,


How are datasets concatenated?

3 Answers   CitiGroup,


how to count the number of members in pds?

2 Answers  


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,


Categories