In a single step if input file is present then only need to
copy into output file or else need to through a RC is it
possible. Note : i want it in a single step
Answer Posted / shridhar
//RAS79002 JOB ,'CS
UPDATE',
//
MSGCLASS=Q,
//
CLASS=D,TIME=0
//*
//STEP010 EXEC
PGM=IDCAMS
//SYSPRINT DD
SYSOUT=*
//SYSOUT DD
SYSOUT=*
//INDD DD DSN=NUSEG58.SORTOUT,DISP=
(MOD,DELETE,DELETE),
// SPACE=(TRK,
(10,10),RLSE)
//OUTDD DD
DSN=NUSEG58.SORTOUT1,DISP=SHR
//SYSIN DD
*
REPRO -
INFILE(INDD) -
OUTFILE
(OUTDD)
/*
/*
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you understand by the term job time – out and how can you overcome that?
Explain the function of job statement in jcl?
What is multithreading in jcl?
What happens if both JOBLIB & STEPLIB is specified ?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What is the maximum length of a single line of jcl?
what is use of dsn parameter in dd statement?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Is it possible to define dd statements as you want?
Name the statement which can be used to send data to another mvs jes3 node?
Explain how can values be passed from the job stream to an executable program?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
which utility is used to run a cobol-db2 program?
Explain the jcl exec statement?
What is catelog procedure and how many catelog procedure to use in one job?