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
 
Compile Problem in a Small Macro in Rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Wed May 07, 2008 5:47 pm    Post subject: Compile Problem in a Small Macro in Rexx
Reply with quote

Hi All,

I wrote a Small Macro in Rexx , I just planned to hide the code and i was trying to compile it with CPPL, as i need to use it as a Tso Command. Compilation was successfull . But while executing the command it says

"Illegal symbo found in the first line"

Can any one of you gie me a suggestion where it could be wrong .
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Wed May 07, 2008 5:48 pm    Post subject:
Reply with quote

probably the 'Q' in position 9 of the first line.
Back to top
View user's profile Send private message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Wed May 07, 2008 6:12 pm    Post subject: Reply to: Compile Problem
Reply with quote

Hi,

Iam not very familiar with REXX actually, but i wa trying to do something , i was successfull with the Code , it was working fine . But i want that one to be hided , so i went for compiling . As i need to use this Macro as a tso command , i compiled that with CPPL and i got the o/p on executing the second step in the compile part , i.e., IRXJCL. here i passed the parm "REXXL CPPL" . When I tried to use that o/p as tso command , i got the below error message

Code:

      4 +++  ?                                                       
      1 +++ CHANGE  EAGSTUB(DATE),EAGOBJ($DATE)                       
 IRX0013I Error running DATE, line 4: Invalid character in program   
***                                                                   


Fyi.,

In my first step i used REXXCOMP and my second step i used IRXJCL .Iam using the o/p of IRXJCL to invoke a tso command . Iam not sure of this .

Please let me know . where is the mistake
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Tue May 13, 2008 5:04 am    Post subject: Reply to: Compile Problem in a Small Macro in Rexx
Reply with quote

Can you show us the source for your CHANGE routine? I think there is something wrong with line 4.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10456
Location: italy

PostPosted: Tue May 13, 2008 12:07 pm    Post subject: Reply to: Compile Problem in a Small Macro in Rexx
Reply with quote

Quote:
Can you show us the source for your CHANGE routine? I think there is something wrong with line 4.


why do You ask the gentleman to show the code ??
he said that he wants to hide it ,
and, who knows..., some of his colleagues might lurk thru the forums
and discover the sinful secrets behind of the script icon_biggrin.gif icon_biggrin.gif
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Wed May 14, 2008 2:12 am    Post subject: Reply to: Compile Problem in a Small Macro in Rexx
Reply with quote

You are right, Nayak should not divulge the secret code. But perhaps the problem can be reproduced in a smaller program that does not contain the secret ingredient.

And when I have such problems, trying to isolate the problem in a smaller program usually helps in problem determination.

Nayak, have you tried running the program with trace('r')?
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 -> CLIST & REXX 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. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts Defining SYSLIB to USS c++ (cxx) comp... Harold Barnes All Other Mainframe Topics 2 Sat Apr 07, 2018 5:06 am
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm
This topic is locked: you cannot edit posts or make replies. how to get Job information from IOF u... rsshanmugam CLIST & REXX 13 Mon Feb 05, 2018 4:22 pm

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