Page 1 of 2

ISRCSECT

PostPosted: Tue Jun 11, 2013 10:56 pm
by cally
HI, can you please let me know hoe to use ISRCSECT command in rexx to get the CSECT details from load DSN GY.TEST. LOAD(LOAD1)..
I used the below command
STEPLIB DD DSN=GY.TEST.LOAD
ISPSTART CMD(ISRCSECT 'LMOD(LOAD1) C(DOO1) L(12)' )+
BDISPMAX(99999)

but this throws an error stating the LMOD cannot be recognized
can u plz tell me how get this using a REXX code

Re: ISRCSECT

PostPosted: Tue Jun 11, 2013 11:05 pm
by Akatsukami
Seeing that you've posted exactly the same thing in three different fora, I've changed my mind; I can't be bothered to give you the time of day, let alone help.

Re: ISRCSECT

PostPosted: Tue Jun 11, 2013 11:33 pm
by Robert Sample
Posting multiple times in multiple places does not get you more or better responses. In fact, it tends to lower the possibility of ANY responses. Especially since you posted a REXX question in the COBOL and JCL forums before posting in the CLIST & REXX forum.

I've locked the other two posts so any responses you get will be in the right place.

It also took 3 seconds with Google to find a web site that states you are not even looking at the right REXX code:
ISRCSECT
A REXX exec used in conjunction with ISRTCB exec. It takes the entry point of a load module and begins searching for a specific CSECT. If it finds one, the exec displays the CSECT's eye-catcher.
Where is your ISRTCB code?

Re: ISRCSECT

PostPosted: Tue Jun 11, 2013 11:57 pm
by cally
sorry for what had happened..

I'm not sure about the ISRTCB code?

could you please show me a sample or how to include ISRTCB code?

Re: ISRCSECT

PostPosted: Tue Jun 11, 2013 11:58 pm
by dick scherrer
Hello and welcome to the forums,

After Robert locked the duplicates, i removed them. They had no value to add to the forum. We do not allow duplicate posting of the same question. If a question is posted where it does not belong, it is moved to an appropriate part of the forum.

The process does NOT throw an error. If you intend to work in a professional discipline, you need to make sure you use the proper terminilogy.

Possibly not what you are looking for, but you can get load module details using AMBLIST.

What are you trying to do that is not working?

Re: ISRCSECT

PostPosted: Wed Jun 12, 2013 12:06 am
by cally
I wanted to get the CSECT details of the loads using REXX... The loads are present in the dataset for example Cally.TEST.Load ( LOAD1)
I need to get the csect details of the LOAD1
I thought I can use ISRCSECT command but I'm not sure how to use it. ISRTCB exec how to use it ?

Re: ISRCSECT

PostPosted: Wed Jun 12, 2013 12:36 am
by dick scherrer
Hello,

To repeat:
What are you trying to do that is not working?

Asked differently, if your process would do what you want, what would be your result(output)?

If you explain what "details", someone may have a suggestion. There are often several ways to get a particular answer.

Re: ISRCSECT

PostPosted: Wed Jun 12, 2013 2:23 am
by steve-myers
I don't really know how to use ISRCSECT, but I did do a little research.
  1. The ISRTCB Rexx exec is in the same library as ISRCSECT.
  2. ISRCSECT expects the module to be in storage. It will not load the module.
  3. The output ISRCSECT lists is not the same as output from AMBLIST.

Re: ISRCSECT

PostPosted: Wed Jun 12, 2013 2:52 am
by dick scherrer
Hello,

3.The output ISRCSECT lists is not the same as output from AMBLIST.
Which may or may not be a problem.

If TS would explain the goal, i believe we could be more useful. Saying "the details" doesn't tell much . . .

Re: ISRCSECT

PostPosted: Wed Jun 12, 2013 2:04 pm
by cally
basically I need to retrieve the DBRM contoken details. The DBRM of the loads are attached to the CSECT I thought it will be better if I could first retrieve the CSECT details from the loads

The loads(LOAD1) are present in the dataset Cally.TEST.LOAD... So I tried to retrieve the CSECT details of the LOAD1 present in the dataset

Intially I had used the ISRCSECT command in the jcl...below is the piece of code that I added to the JCL,DR0001 is the DBRM details present in the LOAD1

//STEPLIB DD DSN=Cally.Test. LOAD
ISPSTART CMD(ISRCSECT 'LMOD(LOAD1) C(DROOO1) L(12)') +
BDISPMAX(99999+)
END


the output of the jcl is: unable to allocate the LMOD(LOAD1).

I'm not sure how to proceed with it... could you please tell me know your thoughts to identify the LMOD.... because I fell the LOAD1 is not recognized from the DSN
or should I use any specific library to use ISRCSECT. please let me know if you are looking in for any specific details