Re: EMPTYTST program - Test if a non-VSAM dataset is empty

2018-02-05 Thread Anthony Google Babonas
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 m

Re: EMPTYTST program - Test if a non-VSAM dataset is empty

2018-02-05 Thread Jon Butler
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 /

EMPTYTST program - Test if a non-VSAM dataset is empty

2018-02-01 Thread Sam Golob
Hi Folks,     Because of some interest on this list, we just wrote a tool that might help people in long jobstreams.  It is called EMPTYTST and it is a batch program which can tell if a PS dataset or a PO member is empty or not.     EMPTYTST uses SYSUT1 for the input dataset, and returns a