Answer Posted / abhijit18in2002
Instream data is the Paratmeter we pass through SYSIN
Catalog Procedure does'nt take Instream data
Example
//NEWPROC PROC
//ABCPGM EXEC PGM=IDCAMS
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//INDD1 DD DSN=ABC.XYZ.DSP,DISP=SHR
//OUTDD1 DD DSN=PQR.XYZ.NOP,DISP=SHR
//SYSIN DD *
REPRO INDD(INDD1) –
OUTDD(OUTDD1)
/*
It will fail
Instead use
//SYSIN DD DSN=ABC.DFG.PARM,DISP=SHR
/*
Put the following in this data set ABC.DFG.PARM
REPRO INDD(INDD1) –
OUTDD(OUTDD1)
It will run fine
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
For what purpose steplib and joblib are used ?
Explain the function of //jcllib statement?
Is it possible to left uncode disp? If yes, how?
How gdg are concatenated?
Is condition checking possible in jcl? If yes, how?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
which utility is used a dummy utility?
What do you understand by the terms: joblib and steplib?
What is the use of symbol // in jcl?
How jcl is used for testing batch programs?
What are steplib and joblib? What for they are used?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You