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 / 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 |
What parameters can be used to limit the number of records written to a sysout dataset?
How gdg are concatenated?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
What is the function of //cntl statement?
what is instream data
once we submitted the job to the operating system, how can we cancel the job before execution?
What is the meaning of the EXEC statement keyword, COND? What is its syntax?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
How to find in aparticular step how many versions a paricular gdg base have?
How to concatenate different LRECL of files?
When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).
Is it possible to left uncode disp?