How to point my proc to production dataset always though i
keep jcllib order=development.dataset? Is it possible?
Answers were Sorted based on User's Feedback
Answer / murali
You can't able to point the PROC to other regions
(TEST/PROD) dataset at any cost. If you run the JCL in Test
region, it will pick test datasets and viceversa for
production jcl.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / abhijit18in2002
If your Production and Test region shares same Image then
it is possible to point production region dataset from Dev
Sample JCL
//REPRO EXEC
PGM=IDCAMS
//SYSOUT DD
SYSOUT=*
//SYSPRINT DD
SYSOUT=*
//IN DD
DSN=ABCD.PROD.INPFILE,DISP=SHR,
//
UNIT=VCAP,VOL=SER=xxxxxx
//OUT DD
DSN=EFGH.DEV.RAF17744,DISO=SHR
//SYSIN DD
*
REPRO INFILE(IN) OUTFILE(OUT) COPY
(1000)
//*
This statement is most imp
UNIT=VCAP,VOL=SER=xxxxxx
Serial no should refer to Production.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / aparna
You could introduce symbolics.Point some to the production
dataset and keep the jcllib to the test dataset. Though it
only makes sense to do this for an Input dataset.
| Is This Answer Correct ? | 0 Yes | 0 No |
CAN ANYONE TELL ME WHAT IS "JOB-CARD"
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?
Explain the function of a dd statement?
how to convert a file form fixed Length to variable length?
How do you restart a PROC from a particular step?
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
Describe the EXEC statement, its meaning, syntax and keywords?
What is a PROC? What is the difference between an instream and a catalogued PROC?
Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA
Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??
Explain how can the attributes of one sms dataset be copied to another dataset?