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: 10256
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: 10256
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am


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