Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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

Senior Member


Joined: 14 Mar 2007
Posts: 10478
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

Senior Member


Joined: 14 Mar 2007
Posts: 10478
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: 8685
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. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts Question about dataset sequence numbe... harisukumaran JCL & VSAM 23 Tue May 29, 2018 9:31 am
No new posts Trap the jcl error message or maxcc i... ankita agarwal CLIST & REXX 5 Fri May 18, 2018 2:08 pm
No new posts Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
No new posts IBM Pcomm macro startmacro command do... JGregoire IBM Tools 0 Wed May 09, 2018 12:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us