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: 7995
Location: Bellevue, IA

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: 2033
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
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am


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