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 |
what is the meaning of keyword in jcl?what is is opposite?
What is Uncatalog dataset? How can we access/use them?
What is difference between Return Code, user completion code, Abend code and reason Code?
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
What is the format of comment statement?
how you will the direct the data to spool using sysout option?
How to use COND Parameter in jcl
mainframe questions like basic&depth
I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.
Can I send output of job to my remote device careerride123?
How are datasets concatenated?
How to skip first step of a job? Can we use COND on the first step?