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 work to handle various input output file operations?

1115


How to alter the parameters for the existing gdg?

1161


What is the function of dd name parameter with a 2 part structure; audit.report?

1190


What is the difference between run mode and addressing mode?

1189


Explain how can the submitting users racf authority be overridden in a job stream?

1099


how can the same proc be re-used and called by many jobs?

1466


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?

1074


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

1200


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

1195


Explain the function of //jcllib statement?

1174


define cond parameter in jcl?

1236


what are the types of abends that occur on job failure? And explain the possible causes of these

1580


how you can access an uncataloged dataset in a JCL?

1096


what is the JCL statement consists of?

1156


How is a type of file defined in the jcl that executes the cobol program?

1155