ISRCSECT



IBM's Command List programming language & Restructured Extended Executor

Re: ISRCSECT

Postby dick scherrer » Wed Jun 12, 2013 7:53 pm

Hello,

It may help if you post the complete JCL and other statements submitted.

Also, you might run an AMBLIST and see if what you want is among the output.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ISRCSECT

Postby steve-myers » Wed Jun 12, 2013 9:12 pm

Dick - Check ISP.SISPEXEC(ISRCSECT) and try the example ISRCSECT 'LMOD(ISRSUBS) C(ISRCBR)' in the documentation in ISP.SISPEXEC(ISRCSECT) . The topic starter should read this documentation too.

I don't know what the TS is hoping to get out of this, but I strongly suspect it is not what he wants.

EXAMPLES: ISRCSECT 'LMOD(ISRSUBS) C(ISRCBR)'                     
          :WILL CALL ISRTCB TO GET THE ADDRESS OF LOADMOD ISRSUBS
          :AND START SEARCHING AT THAT ADDRESS FOR CSECT  ISRCBR
          :ONLY THE EYE-CATCHER FOR ISRCBR WILL BE DISPLAYED

Now this implies LMOD ISRSUBS must be in storage when ISRCSECT starts.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: ISRCSECT

Postby Pedro » Wed Jun 12, 2013 10:18 pm

ISRCSECT is not the utility to use to get the details of a csect in a dataset. You are not getting definitive answers because it is not a common nor useful utility. I suspect IBM service might ask you to use this utility on rare occasions, but you would not normally use ISRCSECT on your own.

you might run an AMBLIST and see if what you want is among the output.

The answer has been posted a few times already: use the AMBLIST utility. It is the utility to use to get the details of a csect in a dataset

AMBLIST is normally a batch job:
//LIST EXEC PGM=AMBLIST                               
//SYSPRINT DD SYSOUT=*                               
//LOADLIB  DD DISP=SHR,DSN=MY.MISC.LOAD           
//SYSIN DD *                                         
 LISTLOAD OUTPUT=MODLIST,DDN=LOADLIB,MEMBER=MYPROG   


Run it as a batch job to see if it has the information you need. Then, if it has the information you want, from rexx, you should be able to allocate SYSPRINT, LOADLIB, and SYSIN. And invoke AMBLIST through ADDRESS LINKMVS or similar variant.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Previous

Return to CLIST & REXX