ISRCSECT



IBM's Command List programming language & Restructured Extended Executor

ISRCSECT

Postby cally » Tue Jun 11, 2013 10:56 pm

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
cally
 
Posts: 7
Joined: Tue Jun 04, 2013 10:39 pm
Has thanked: 3 times
Been thanked: 0 time

Re: ISRCSECT

Postby Akatsukami » Tue Jun 11, 2013 11:05 pm

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.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: ISRCSECT

Postby Robert Sample » Tue Jun 11, 2013 11:33 pm

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?
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: ISRCSECT

Postby cally » Tue Jun 11, 2013 11:57 pm

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?
Last edited by cally on Tue Jun 11, 2013 11:58 pm, edited 1 time in total.
cally
 
Posts: 7
Joined: Tue Jun 04, 2013 10:39 pm
Has thanked: 3 times
Been thanked: 0 time

Re: ISRCSECT

Postby dick scherrer » Tue Jun 11, 2013 11:58 pm

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?
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 cally » Wed Jun 12, 2013 12:06 am

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 ?
cally
 
Posts: 7
Joined: Tue Jun 04, 2013 10:39 pm
Has thanked: 3 times
Been thanked: 0 time

Re: ISRCSECT

Postby dick scherrer » Wed Jun 12, 2013 12:36 am

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.
Hope this helps,
d.sch.

These users thanked the author dick scherrer for the post:
cally (Wed Jun 12, 2013 2:05 pm)
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 2:23 am

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.

These users thanked the author steve-myers for the post:
cally (Wed Jun 12, 2013 2:05 pm)
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 dick scherrer » Wed Jun 12, 2013 2:52 am

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 . . .
Hope this helps,
d.sch.

These users thanked the author dick scherrer for the post:
cally (Wed Jun 12, 2013 2:05 pm)
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 cally » Wed Jun 12, 2013 2:04 pm

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
cally
 
Posts: 7
Joined: Tue Jun 04, 2013 10:39 pm
Has thanked: 3 times
Been thanked: 0 time

Next

Return to CLIST & REXX