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: 10231
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: 10231
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 4 Fri Mar 24, 2017 2:24 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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