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



How to point my proc to production dataset always though i keep jcllib order=development.dataset? ..

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

How to point my proc to production dataset always though i keep jcllib order=development.dataset? ..

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

How to point my proc to production dataset always though i keep jcllib order=development.dataset? ..

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

Post New Answer

More JCL Interview Questions

why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two

1 Answers   IBM, Perot Systems,


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

6 Answers   IBM,


We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  


i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can u do this.

7 Answers   Syntel,


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

0 Answers  






what is the JCL statement consists of?

0 Answers  


what's the significance of freespace(0 0) and freespace(100 100)

3 Answers  


How to delete generations of gdg without deleting gdg base?

3 Answers  


Define concatenating?

0 Answers  


what is JCL?

0 Answers  


Explain how can the submitting users racf authority be overridden in a job stream?

0 Answers  


Explain about RECORDING MODE Clause

1 Answers  


Categories