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

Edit a PS file using macro in rexx


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
JOYEETA PAUL
Currently Banned

New User


Joined: 18 Sep 2008
Posts: 17
Location: bangalore

PostPosted: Sat Oct 25, 2008 7:19 pm
Reply with quote

i want to edit a PS file using macro in rexx.i want to select a particular portion from the file and want to display that portion in a panel.can anybody help me.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2624
Location: Silicon Valley

PostPosted: Sat Oct 25, 2008 8:38 pm
Reply with quote

You need to do some reading:
For DISPLAY service, see ISPF Services Guide
For edit macro, see ISPF Edit and Edit Macros

Use the LINE macro statement to read lines from the file being edited. Parse the lines into rexx variables
Create your panel using the same variable names
Use display service to display the panel.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Trouble using REXX SDSF interface to ... CLIST & REXX 3
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
Search our Forums:


Back to Top