Re: IEBGENER is BROKEN
- From: steve@xxxxxxxxxxxxxxxxxx (Steve Comstock)
- Date: 16 Jan 2008 05:01:06 -0800
Paul Gilmartin wrote:
On Tue, 15 Jan 2008 15:01:58 -0700, Steve Comstock wrote:
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.
Well, that's not just for sorts and utilities;
A DD * with no lines is _not_ the same as DD DUMMY.
There are differences in allocation, for example.
Can you expand on this
I was just thinking that SYSIN type data gets
allocated out of the SPOOL, while DUMMY data sets
bypass allocation. Just ran a small test, since
I haven't really looked at this in years, and I
see on the JES2 job log:
IEF237I DMY ALLOCATED TO DD1
JES2 ALLOCATED TO DD2
JES2 ALLOCATED TO REPT
for this JCL:
//DD1 DD DUMMY,LRECL=100
//DD2 DD *
//REPT DD SYSOUT=*
also, for step termination:
Of course, not much of a test. And Frank Y. and Bill
G. have provided some other insights.
> (or am I requesting too much a freebie)?
Ouch! Have I gotten too cheap again?
I've worked hard at being more upbeat,
more generous, and more humorous for
the last 6-9 months.
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.
I'll grant some leeway that the error recovery for
a terminal data set is justifiably different from
that for a noninteractive data set.
The Trainer's Friend, Inc.
z/OS Application development made easier
* Our classes include
+ How things work
+ Programming examples with realistic applications
+ Starter / skeleton code
+ Complete working programs
+ Useful utilities and subroutines
+ Tips and techniques
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
- Re: IEBGENER is BROKEN
- From: Paul Gilmartin
- Re: IEBGENER is BROKEN
- Prev by Date: Outsourced - the movie
- Next by Date: non-mainframe post (was Re: Outsourced - the movie)
- Previous by thread: Re: IEBGENER is BROKEN
- Next by thread: Re: IEBGENER is BROKEN