IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

How to Run Rexx Macro?


 
IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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 Member


Joined: 29 Apr 2008
Posts: 876
Location: Maryland

PostPosted: Fri Sep 01, 2017 9:56 pm
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: 8566
Location: Dubuque, Iowa, USA

PostPosted: Fri Sep 01, 2017 9:59 pm
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

Global Moderator


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

PostPosted: Sat Sep 02, 2017 3:09 am
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: 2430
Location: Hampshire, UK

PostPosted: Sat Sep 02, 2017 3:37 pm
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: 397
Location: Denmark

PostPosted: Mon Sep 04, 2017 1:31 pm
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 All times are GMT + 6 Hours
Forum Index -> CLIST & REXX
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Calling Assembler from REXX PL/I & Assembler 5
No new posts REXX/CLIST tool for BCSR and EDSR CLIST & REXX 2
No new posts Calling Rexx program from Cobol CLIST & REXX 12
No new posts REXX script to beautify XML CLIST & REXX 1
No new posts TWS PIF (EQQYCOM) Rexx - Occurrence S... IBM Tools 0

Back to Top