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 are the parameter we cannot use in procedure? How many instream we can write in single jcl?
how to solve u4038 abbend?........
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
How to Enter The Spool Area In Real Time?
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
what is the difference between return code and maxcc?
Explain about User Information
Explain about Cobol Subroutines
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
What is a S0C4 error ?
Can we use empty VSAM as input?
AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS