BPXWDYN() tells me:

***** in -sh -iLm *****                                                         
User@MVS:500$ rexx "say bpxwdyn( 'alloc path(''/foo/bar'') msg(2)' )"          
IKJ56228I PATH /foo/bar NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED           
-32745 

... a reasonably informative diagnostic (but I find the reference to "CATALOG"
misleading -- I doubt that a catalog search was ever attempted.  IIRC, I went
to PMR on this long ago.  WAD.)

But in JCL for the same path:

       46 //SMPNTS   DD  PATHOPTS=ORDONLY,                                      
          //  PATH='/foo/bar/.'                          
    ...
IEFA107I C07SETUP NTSTEST SMPNTS - DATA SET ...PATH=.SPECIFIED... NOT FOUND     
IEF272I C07SETUP NTSTEST - STEP WAS NOT EXECUTED. 

Why is the pathname obfuscated in the message?  Don't both BPXWDYN and
Initiator invoke Allocation ang get similar replies?  Why doesn't Initiator just
show the pathname?

(And the IEFA107I *could* display the line number of the offending JCL
statement.  If it cared.)

I hate JCL!

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to