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
 

 

RC 20 in FIND command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Thu Aug 06, 2009 12:49 pm    Post subject: RC 20 in FIND command
Reply with quote

this is the rexx

Code:
TRACE A                         
ADDRESS ISREDIT                 
'MACRO'                         
             "FIND PROCEDURE 8" 


this the output i am getting

Code:
      2 *-* ADDRESS ISREDIT 
      3 *-* 'MACRO'         
        >>>   "MACRO"       
        +++ RC(20) +++       
      4 *-* "FIND PROCEDURE 8"           
        >>>   "FIND PROCEDURE 8"         
        +++ RC(20) +++   


can anyone let me know what i am doing wrong to get a RC 20?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 06, 2009 1:05 pm    Post subject:
Reply with quote

So much information in your post icon_rolleyes.gif please answer the questions below.

Are you doing this foreground or background.
How are you invoking the macro.
Is the macro stored in a library concateneated to either SYSPROC or SYSEXEC.
Have you used ALTLIB to concatenate your own library to the previous DD names.
Back to top
View user's profile Send private message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Thu Aug 06, 2009 1:10 pm    Post subject:
Reply with quote

I am invoking this REXX from foreground, from command line inside a member in EDIT mode.


I am not sure about the third point. This particular REXX is stored in a library which is concatenated to SYSEXEC.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 06, 2009 1:17 pm    Post subject:
Reply with quote

What do you enter on the command line to invoke the macro.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Aug 06, 2009 1:35 pm    Post subject:
Reply with quote

what about /* REXX */ as first line?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 06, 2009 1:55 pm    Post subject:
Reply with quote

There is a big difference between the following two methods below. Please try both and see what happens.
Code:

 Command ===> macroname               
 ****** ***************************** T
 000001 /* REXX *** TO SPLIT FIXCDS REC
 000002 /*          ONLY THE FIRST OCCU
 000003 /*          TYPE 39 ERROR RECOR

And
Code:

 Command ===> tso macroname               
 ****** ***************************** T
 000001 /* REXX *** TO SPLIT FIXCDS REC
 000002 /*          ONLY THE FIRST OCCU
 000003 /*          TYPE 39 ERROR RECOR
Back to top
View user's profile Send private message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Thu Aug 06, 2009 2:07 pm    Post subject: Reply to: RC 20 in FIND command
Reply with quote

the problem was that i was entering TSO macroname and not macroname....

thanks expat and everyone for your prompt response.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 06, 2009 2:20 pm    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
what about /* REXX */ as first line?

Not really required for a macro, but I must admit for good housekeeping I tend to include it as a matter of course.
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 find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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