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

How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

0 Answers  


Is it possible to left uncode disp? If yes, how?

0 Answers  


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.

4 Answers   IBM,


How can an in-stream dataset be terminated?

0 Answers  


what is alternate index?

1 Answers  






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?

4 Answers  


how to count the number of members in pds?

2 Answers  


How does the jcl specify the job to os?

0 Answers  


What is GDG and what is the maximum limit of versions that can be created?

9 Answers   Convergys,


How do you skip a particular step in a proc/JOB?

5 Answers   CSC, CTS,


Min no of member?s (PDS) in one directory block?

10 Answers  


how to run batch program without jcl?

3 Answers   HSBC, IBM,


Categories