Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

LINKMVS getting RC(8) when invoking AMBLIST

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Jan 21, 2009 8:05 pm    Post subject: LINKMVS getting RC(8) when invoking AMBLIST
Reply with quote

I've developed some REXX to analyse AMBLIST output and generate some purpose-specific output. This is working against both PDS and PDSe but, in one instance so far, I'm getting RC(8) when issuing

Code:
ADDRESS LINKMVS "AMBLIST"


The PDs in question has RECFM=U,BLKSIZE=6144 and REXX is working OK with other PDS with same attributes. Batch job running AMBLIST with same controls worked fine.

Any suggestions as to what the cause/remedy might be?

Garry.
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2033
Location: Silicon Valley

PostPosted: Wed Jan 21, 2009 10:12 pm    Post subject: Reply to: LINKMVS getting RC(8) when invoking AMBLIST
Reply with quote

Does AMBLIST work if you run it as a batch job and specify the same problem dataset and same control cards as your rexx?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 22, 2009 11:09 am    Post subject:
Reply with quote

Try "ADDRESS ISPEXEC "SELECT PGM(AMBLIST)""

O.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Jan 22, 2009 1:57 pm    Post subject:
Reply with quote

Quote:
Does AMBLIST work if you run it as a batch job and specify the same problem dataset and same control cards as your rexx?


Yes, runs fine as a batch job. Also, if I copy the load module to another PDS (as only member), the REXX runs fine. The control card reads:
Code:
 LISTIDR DDN=LOAD,MEMBER=pgmname


Quote:
Try "ADDRESS ISPEXEC "SELECT PGM(AMBLIST)""


Tried this, behaviour is exactly the same - works with one PDS but not the other.

Thanks,
Garry.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2033
Location: Silicon Valley

PostPosted: Thu Jan 22, 2009 10:17 pm    Post subject: Reply to: LINKMVS getting RC(8) when invoking AMBLIST
Reply with quote

Sounds like it is not AMBLIST or REXX problem.

Anything unique about the particular dataset? Empty? Member exists? Unusually large member? Does AMBLIST work for any member of that dataset? Can you copy a member from the other dataset (that works) and run AMBLIST against it?

Suggest you allocate new PDS, copy all members and delete the old dataset.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jan 23, 2009 2:34 pm    Post subject:
Reply with quote

Thanks Pedro,

I can only copy from the problem dataset. The PDS belongs to a specific group but I am allowed read access. I can't copy into the PDS.

The only thing I can find that's suspect is that the PDS is in 4 extents. I've copied several problem members to my own PDS and the REXX AMBLIST runs OK with the copy. It also runs OK against a random selection of members in the problem PDS.

It looks like my solution may be to have the PDS owners compress the PDS.

Thanks to all,
Garry.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Invoking CA 7 commands through REXX kenshin CLIST & REXX 10 Fri Aug 12, 2016 9:33 pm
No new posts Invoking SAS in Mainframe mkk157 All Other Mainframe Topics 3 Thu Jun 02, 2016 1:12 pm
No new posts Invoking a CICS program through LINK P Srinivasan CICS 10 Mon Apr 18, 2016 8:55 am
No new posts Invoking QW from REXX pshongal CLIST & REXX 2 Tue Sep 09, 2014 10:24 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us