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: 212
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: 8187
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: 2088
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: 1922
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: 171
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 ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 4 Sat Nov 18, 2017 7:40 pm
No new posts REXX LISTDSI () SMSINFO is not working upendrasri CLIST & REXX 4 Fri Nov 17, 2017 11:33 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 4 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am

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