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
 

 

REXX Macro to find a word in dataset

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

New User


Joined: 06 Dec 2007
Posts: 2
Location: Trivandrum

PostPosted: Sun Dec 16, 2007 12:28 pm    Post subject: REXX Macro to find a word in dataset
Reply with quote

COULD ANY ONE OF YOU PLEASE SEND THE CODE FOR WRITING MACROS TO FIND A PARTICULAR WORD IN A MEMBER IN A DATA SET?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Sun Dec 16, 2007 12:50 pm    Post subject: Reply to: REXX MACROS
Reply with quote

Caps Off, Please ( at least when You ask ) !!!

No need to use a macro to find a string ...

In interactive mode You can Use the FIND command of ( browse/view/edit)

If You need to sarch in more than one member You can use both
ineractively and batch the "SRCHFOR" utility
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Dec 16, 2007 10:11 pm    Post subject:
Reply with quote

There is no such thing "REXX MACROS". ISPF Edit macros can be written in any supported language (to include REXX).
They are well documented in ISPF Edit and Edit Macros manual.


O.
Back to top
View user's profile Send private message
Halka

New User


Joined: 06 Dec 2007
Posts: 2
Location: Trivandrum

PostPosted: Mon Dec 17, 2007 7:02 am    Post subject: REXX Macro to find a word in dataset
Reply with quote

What I need is I have to find all the new gdgs that will be created as a result of running a JCL program. All these new gdgs will be prefixed by '&GEN' .So I have to write a macro which will display(through SAY) all these GDGS on running my macro program . I need the code for that. Could anyone please help?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Mon Dec 17, 2007 11:41 am    Post subject: Reply to: REXX Macro to find a word in dataset
Reply with quote

Quote:
Could anyone please help?


NO :-)
Until You are more clear on Your Requirements/desires..
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: Mon Dec 17, 2007 2:11 pm    Post subject:
Reply with quote

Halka,

Quote:
What I need is I have to find all the new gdgs that will be created as a result of running a JCL program


Why on earth would you even want to know that information - except for possibly creating a JOB (NOT JCL) and dataset cross reference, but then you would also need a whole load more info than you have asked for to accomplish that.

The question does make me want to ask if this is a homework task, especially as you have started a second thread on the same topic.
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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


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