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

ALTLIB error in REXX program


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sparrow

New User


Joined: 26 Mar 2007
Posts: 57
Location: Pune

PostPosted: Wed Dec 10, 2008 9:31 pm
Reply with quote

I have used to ALTLIB in my REXX program SAMPLE, like

/* REXX */
ADDRESS TSO "ALTLIB ACTIVATE APPL(EXEC) DA(MYUID.EXEC)"

I am getting error when I run the REXX program,

2 +++ ADDRESS TSO "ALTLIB ACTIVATE APPL(EXEC) DA(MYUID.EXEC)"
/
Error running SAMPLE, line 2: Invalid expression
***


I have tried the same ALTLIB command in the TSO COMMAND mode, it worked.

Please someone help me on this..
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 10, 2008 9:45 pm
Reply with quote

I'm not a REXX person, but don't you have to deactivate APPL(EXEC) before doing the ACTIVATE? I would think if REXX is already running, APPL(EXEC) would be in use already ....
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Thu Dec 11, 2008 2:07 am
Reply with quote

Please use PROFILE MSGID to show the message numbers.

What is this:
Code:
/

that is in your post?

Do you have line numbers turned on?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Dec 11, 2008 11:18 am
Reply with quote

Do you have something in columns 73-80?

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

New User


Joined: 26 Mar 2007
Posts: 57
Location: Pune

PostPosted: Thu Dec 11, 2008 2:44 pm
Reply with quote

Yes, There was a " / " somewhere after coulumn 80..

Thanks for pointing out.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top