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

How do you handle empty files in a JCL ?

Answer Posted / guest

Yes, we can handle empty file in JCL, there is utility
provided by IBM "UT939" ,eg //STEP1 EXEC PGM=UT939,
IF step1 return code is 4 then there is empty file and else
if return code is 0 (for non-empty file). We can handle
this with COND parameters whether to execute next step or
not if file is empty.
SUPPOSE WE DON'T WANT TO EXECUTE THEN
eg //STEP2 EXEC PGM=XXX,
COND=(4,EQ,STEP1)

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about LMQUERY�give a dialog information about a data set

1457


What is job control language?

1098


How do you create a temporary dataset?

1192


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

1271


Explain the function of //jcllib statement?

1229


List the different components of jcl statement?

1092


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

1136


What is the purpose of dd * statement in jcl?

1293


Where can program checkpoints be stored for use in a restart?

1443


Is it possible to code instream data in a PROC?

1339


How jcl is used for testing batch programs?

1290


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

1192


What is concatenating?

1088


how to compare two datasets without using superce because output is limited to 133 bytes

2112


which parameter is used to check the syntax of a jcl without executing it?

1363