IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

LINKMVS getting RC(8) when invoking AMBLIST


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Jan 21, 2009 8:05 pm
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

Global Moderator


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

PostPosted: Wed Jan 21, 2009 10:12 pm
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: 2358
Location: Israel

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

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

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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Jan 22, 2009 1:57 pm
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

Global Moderator


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

PostPosted: Thu Jan 22, 2009 10:17 pm
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Fri Jan 23, 2009 2:34 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts getting RC=3650 when invoking REXX wi... CLIST & REXX 7
This topic is locked: you cannot edit posts or make replies. Invoking a CICS transaction from a no... CICS 7
No new posts ISRE771 error while invoking macros CLIST & REXX 5
No new posts invoking HYPERSPACE in BMC LOADPLUS DB2 2
No new posts Invoking adrdssu using attchmvs IBM Tools 5
Search our Forums:

Back to Top