Df/sort does this, various options to handle

GMAIL, via the "Mail" app for Windows 10

From: Jon Butler
Sent: Monday, February 5, 2018 12:26 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: EMPTYTST program - Test if a non-VSAM dataset is empty

I don't know the detail of what your module does, but you can do the same thing 
with IEBPTPCH.  Set the SYSIN to PUNCH MAXFLDS=1 and if the dataset is empty 
the RC=4; if it contains data the RC=0.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to