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

I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

2669


Explain the function of a dd statement?

1273


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

1349


What is the format of comment statement?

1275


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

2609


What is the purpose of dd dummy statement?

1521


What does a disposition of (MOD,DELETE,DELETE) mean ?

1189


what is the purpose of coding class parameter in job statement?

1311


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1190


what is SOC4 error?

1273


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

2342


whats the diff bw the evaluate also and and?

2418


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

1131


For what purpose steplib and joblib are used ?

1186


Is it possible to left uncode disp? If yes, how?

1228