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

Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?

Answer Posted / jayaprabhu

using the Uitility IEBPTPCH

If RC=04 no data ie the file is empty
rc=00 file is not empty

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of restart and how to use it?

1265


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

1216


Explain how can values be passed from the job stream to an executable program?

1128


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?

2226


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1456


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1110


How does the jcl specify the job to os?

1095


Explain how can an in-stream dataset be terminated?

1249


what are the statements that are not valid to be included in an include statement?

1328


How does jcl act on code(if you take a cobol program)?

1227


What parameter of the job statement is used to limit the cpu time consumed by the job?

1222


Explain the function of a dd statement?

1123


Can we call instream to catalog and catalog to instream?

1086


How would you understand error(execution phase)?

1170


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

1125