Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

in ways data can be passed to a COBOL program from JCL?

1213


can any one plzzzzzz tell the jcl code for creating ps using idcams

11652


For what purpose steplib and joblib are used ?

1131


whats the diff bw the evaluate also and and?

2335


What are hierarchy levels in jcl?

1520


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1226


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

1354


What is the use of symbol // in jcl?

1472


What is Cataloged Procedures?

1158


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

2555


Why block size is multiple of lrecl in jcl?

1397


What is the significance of addrspc parameter in exec statement?

1197


Explain the function of dd disp parameter?

1112


How gdg are concatenated?

1115


In sms datasets, what is the function of the dd mgmtclas keyword?

1375