Oh d***, you're absolutely right. Customer says EXEC PGM=alias but CSVQUERY returns the major name. D***, d***, d***! That is absolutely a real-world possibility even in my constrained set of cases.
The alias would be an alias for the main entry point so finding the nearest minor name is not a solution. D***, d***, d***! Back to the drawing board. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Jeremy Nicoll - ls mainframes Sent: Wednesday, December 05, 2012 12:28 PM To: [email protected] Subject: Re: Who loaded me? Charles Mills <[email protected]> wrote: >Issue CSVQUERY >INADDR=ptr_to_any_addr_in_my_pgm,SEARCH=JPALPA,SEARCHMINOR=NO,OUTEPNM=e >ight_ >char_fld_in_writable_storage > > (I know some of those parms are defaults; I'm just being extra clear.) > Given RC=0, that gets me "my" name. Do I need anything else on > CXVQUERY other than the usual MF= considerations? Am I safe ignoring > PLISTVER and any other parameters? Suppose someone's defined one or more aliases of the program concerned. Is there any combination of uses where the JCL could say EXEC PGM=PROGRAMx but the CSVQUERY would return "PROGRAMy" - either when one or other of PROGRAMx/y s the 'real' program, or when both PROGRAMx/y are aliases of something else? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
