IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

REXX Macro to find a word in dataset


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sun Dec 16, 2007 12:50 pm
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: 2358
Location: Israel

PostPosted: Sun Dec 16, 2007 10:11 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Dec 17, 2007 11:41 am
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: 8797
Location: Welsh Wales

PostPosted: Mon Dec 17, 2007 2:11 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
Search our Forums:

Back to Top