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 |
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Is it possible to left uncode disp? If yes, how?
If i am going to change some variable in a copybook( size or variable type) ,what are the changes that need to be done in the corresponding JCL.
How can an in-stream dataset be terminated?
what is alternate index?
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?
how to count the number of members in pds?
How does the jcl specify the job to os?
What is GDG and what is the maximum limit of versions that can be created?
How do you skip a particular step in a proc/JOB?
Min no of member?s (PDS) in one directory block?
how to run batch program without jcl?