Interesting. (And BTW, I have changed my three-letter example because Binyamin kindly points out that spam filters are suspicious of the letter X appearing in triplicate.)
Let's say that I were developing a program, and certain parts of that program over which I have no control were going to subsequently issue a LOAD or LINK for a subsidiary entry point, and let's say that for the sake of "keeping things all packaged together" I wanted to make that subsequent entry point an additional entry point in my main program. Let's call the PGM= name "AAA" and the subsequent entry point "BBB." I would be better off making BBB the primary name and making AAA an alias, would I not, rather than the other way around? Doing it that way would increase the likelihood that a LOAD or LINK for EP=BBB would get the one that was part of the same program as AAA, regardless of how badly the customer had fouled up the installation, the STEPLIB concatenation, etc.? And as a subsidiary benefit, without a second PDS directory search? Is my logic correct? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Peter Relson Sent: Wednesday, October 04, 2006 6:42 AM To: [email protected] Subject: Re: PGM= and alias CDE Q.If AAA is the jobstep program and AAA has an alias of BBB, then is a CDE created for BBB at the time the jobstep begins? A.No. That would require that the system get a complete directory of the data set in order to learn all the aliases that exist for AAA. If BBB is the jobstep program, then a CDE is created for BBB and also one for AAA since the information that AAA is the "major" is within the directory entry for BBB. /archives/ibm-main.html ---------------------------------------------------------------------- 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

