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 use of space parameter in dd statement?
What is the improvement to COND= in the latest version of MVS?
Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??
A job has 90 steps i want to execute only step7 and step15
how many max steps can we use in a job? pls answer to my question
a dd statement has 2 types of parameters. Name them?
how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths
I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K
when does a dataset go uncataloged?
how you can access an uncataloged dataset in a JCL?
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?