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
How jcl work to handle various input output file operations?
How to alter the parameters for the existing gdg?
What is the function of dd name parameter with a 2 part structure; audit.report?
What is the difference between run mode and addressing mode?
Explain how can the submitting users racf authority be overridden in a job stream?
how can the same proc be re-used and called by many jobs?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What are some jcl statements that are not allowed in procedures?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Explain the function of //jcllib statement?
define cond parameter in jcl?
what are the types of abends that occur on job failure? And explain the possible causes of these
how you can access an uncataloged dataset in a JCL?
what is the JCL statement consists of?
How is a type of file defined in the jcl that executes the cobol program?