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

Replace string in DATASET


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ram prasad

New User


Joined: 28 May 2007
Posts: 17
Location: india

PostPosted: Wed May 07, 2008 10:48 am
Reply with quote

Can anyone suggest a better way to replace string in a DATASET?

I'm taking the inputs from the panel and I need to replace the input values in the DATASET.

I'm able to replace a string in DATASET by using a MACRO, but how can I replace the values from the PANEL in the MACRO?

thanks,
ramprasad.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed May 07, 2008 10:57 am
Reply with quote

Invoking Edit Macro programmatically is done using the EDIT service. Since you can't use ISPF service from within panel (even not within *REXX), you will have to take care of that using REXX code.

However, you can make that transparent to the panel viewer if you use the CONTROL DISPLAY LOCK service.

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

New User


Joined: 28 May 2007
Posts: 17
Location: india

PostPosted: Wed May 07, 2008 11:11 am
Reply with quote

thanks for your valuable advise/suggestion

i got my desired result by another way,
perviously i planned to place my PANEL exec in main REXX
when i placed my PANEL exec in MACRO exec its working,


thanks alot for immediate responce
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top