Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8199
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: 2088
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 Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us