----------------------------------<snip>-----------------------------------
Hi! I've a function checking the name of calling main program. It examines JSTBPGMN field of JSCB area (or SCTPGMNM of appropriate SCT). But now I would like to extent my function on a case where a main program is started by subcommand RUN of DSN (DB2 V7) command. In that case both areas JSCB and SCT contain IKJFTxx obviously. Does anybody know where can I find (and fetch!) main program name in that case? Karol Filupowicz
--------------------------------------<unsnip>-------------------------------------- Consider looking in the current PRB and tracing the blocks from there. Rick ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html