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



In a single step if input file is present then only need to copy into output file or else need to ..

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

Post New Answer

More JCL Interview Questions

What parameters can be used to limit the number of records written to a sysout dataset?

1 Answers  


How gdg are concatenated?

0 Answers  


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?

0 Answers   IBM,


What is the function of //cntl statement?

0 Answers  


what is instream data

2 Answers   EDS,


once we submitted the job to the operating system, how can we cancel the job before execution?

2 Answers  


What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  


How to find in aparticular step how many versions a paricular gdg base have?

4 Answers   TCS,


How to concatenate different LRECL of files?

2 Answers   IBM,


When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


Is it possible to left uncode disp?

0 Answers  


Categories