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 / mdv

Simple Sort job'll do.

Give PARM='nullout=rc4'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1266


which utility is used to sort a file in jcl?

1188


What is the significance of addrspc parameter in the exec statement?

1037


How jcl work to handle various input output file operations?

1118


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

1235


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7748


What are hierarchy levels in jcl?

1490


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1203


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

1122


Explain the function of the dd dcb keyword?

1212


What does a disposition of (new,catlg,keep) for a dsn mean?

1097


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

2113


How do you access an uncatalogued dataset in a jcl?

1185


how can you check if a file is empty using jcl?

1376


how do you code a null statement?

1301