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
in ways data can be passed to a COBOL program from JCL?
can any one plzzzzzz tell the jcl code for creating ps using idcams
For what purpose steplib and joblib are used ?
whats the diff bw the evaluate also and and?
What are hierarchy levels in jcl?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What is the use of symbol // in jcl?
What is Cataloged Procedures?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Why block size is multiple of lrecl in jcl?
What is the significance of addrspc parameter in exec statement?
Explain the function of dd disp parameter?
How gdg are concatenated?
In sms datasets, what is the function of the dd mgmtclas keyword?