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

how JCL works?

1265


How to override loadlib?

2039


Suppose I have five jobs to do. But I want to hold one?

1127


what is DSN in JCL and what are the parameters to declare the DSN?

1196


What are some jcl statements that are not allowed in procedures?

1234


What is NOTCAT ?

1333


Differentiate between addressing mode and run mode.

1076


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

1191


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2294


how to do automated restart when a job abends?

1384


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1227


How does the jcl specify the job to os?

1157


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2254


what are JCLLIB and STEPLIB in JCL?

1175


What parameter directs the output of the job log dataset?

1280