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
 

 

ALTLIB error in REXX program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: ALTLIB error in REXX program
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: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 10, 2008 9:45 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Dec 11, 2008 2:07 am    Post subject: Reply to: ALTLIB error in REXX program
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: 2360
Location: Israel

PostPosted: Thu Dec 11, 2008 11:18 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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