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
 
How to Run Rexx Macro?

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

New User


Joined: 01 Sep 2017
Posts: 1
Location: India

PostPosted: Fri Sep 01, 2017 9:08 pm    Post subject: How to Run Rexx Macro?
Reply with quote

I want to write macro to browse file from JCL , in my previous project i had 'IHBR' and 'BRSE' macros but in my new project nothing is there like that.

Thought of writing IHBR macro, before that i wrote small sample macro and i try run that macro from another PDS by just giving that macro member name. But its throwing command not found error.

I used to code rexx program and i run that by giving EX or TSO EXEC 'PDSName'

but i dont have idea how to run Macro.

Tell me how to run Macro plsss...!!
Back to top
View user's profile Send private message

sergeyken

Active User


Joined: 29 Apr 2008
Posts: 175
Location: Maryland

PostPosted: Fri Sep 01, 2017 9:56 pm    Post subject:
Reply with quote

"Writing a macro" cannot be the task itself (unless it is a homework for a student).
It might be (one of) the ways to perform the actual original task.

Please, describe your task itself. Very likely, no macro at all is needed to do it.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Fri Sep 01, 2017 9:59 pm    Post subject: Reply to: How to Run Rexx Macro?
Reply with quote

Talk to your site support group. Many sites have libraries set up for users to store macros; other sites require the site support group install any macros into the system libraries.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Sat Sep 02, 2017 3:09 am    Post subject: Reply to: How to Run Rexx Macro?
Reply with quote

It should be a member of either your SYSPROC or SYSEXEC concatenations.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1868
Location: UK

PostPosted: Sat Sep 02, 2017 3:37 pm    Post subject:
Reply with quote

Quote:
But its throwing command not found error.

No it is not - nothing is ever "thrown" on the mainframe. You could have said
Quote:
I am getting a "COMMAND NOT FOUND" message
or many other ways of stating that you got an error - but "thrown" is not one of them.
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 159
Location: Switzerland

PostPosted: Mon Sep 04, 2017 1:31 pm    Post subject:
Reply with quote

What is the scope? When you use the term MACRO it indicates (to me anyway) that is is something to run in ISPF edit, but the description indicates something more general.
If you are ok with issuing a command TSO your-command-name then issue the command TSO ISRDDN and look for the ddname SYSEXEC. If there is a dataset with your userid at the front then you can put you REXX pgm in there. Otherwise you need to talk to your colleagues or your tech support team.
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
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

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