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...

We are using 2 files , file one has data, file two is
empty.Using jcl how can we find the other file is empty?

Answer Posted / deepak dada, jaipur

the handling would happen


if the file is empty then pass the zero to return code in
cobol program

then go to jcl step and check for the conditiom code( 0,
eq) where the program is getting called and do whatever you
want to do

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which dd parameters are required?

1184


How can an in-stream dataset be terminated?

1342


How to submit jcl through a cobol program?

1150


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2407


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1258


Mention the types of job control statements?

1174


how JCL works?

1265


when does a dataset go uncataloged?

1302


when can a job time-out occur? How to overcome that?

1289


Explain the purpose of the dd keylen parameter?

1167


Is it possible to left uncode disp?

1205


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1378


write a jcl to execute a job by 7:00 am on jan 20,1986?

1114


How can a jobs execution priority be modified?

1293


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1299