>Date: Tue, 15 Jan 2008 17:06:04 -0600 >From: Paul Gilmartin <[EMAIL PROTECTED]> >Subject: Re: IEBGENER is BROKEN
>>> And I might mention that DUMMY is __required__. We had some jobs that >>> ran with SYSIN being a DD *, but with no control cards. This is, >>> technically, equivalent to DUMMY, but not by ICEGENER. The same applies >>> to an "empty" dataset with no control cards. Just mentioning this >>> because it bit us once. > >Can you expand on this (or am I requesting too much >a freebie)? >But (open message to designers): No! KISS dammit! >OPEN SYSIN; QSAM GET until you come to the end; then >CLOSE. Treat all empty data sets alike. Don't go poking >around UCBs and JFCBs and TIOTs and ... to make an >arbitrary distinction between an empty DUMMY data set, and >an empty instream data set, and an empty DASD data set, >and an empty allocated Unix path, and an empty tape data >set, and an empty (virtual) card reader data set, and an >empty terminal data set. >Treat them all alike; to do otherwise only adds an >unwarranted astonishment factor. >-- gil A DD DUMMY, or DSN=NULLFILE, or no //SYSIN allows DFSORT to know that ICEGENER is OK to go. Anything else requires them to OPEN and READ the file. Much easier just to XCTL to IEBGENER and let it work it out. Why would they OPEN the file? Tom Russell "Stay calm. Be brave. Wait for the signs." -- Jasper FriendlyBear "... and remember to leave good news alone." -- Gracie HeavyHand ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

