ISPF EDIT Macro



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

ISPF EDIT Macro

Postby ram23bal » Thu Jul 24, 2008 6:47 pm

Hi All,

Iam having a rexx program calling the macros

Program:-
/*REXX*/
"ALLOC FILE(SYSEXEC) DATASET('NBKJ5LD.REXX.EXEC1')"
INP1 = 'qwsx.all.copy(test)'
ADDRESS ISPEXEC "EDIT DATASET('"INP1"') MACRO(TEST)"

Macro:-
"ISREDIT MACRO NOPROCESS"
"ISREDIT PACK OFF"
"ISREDIT SAVE"
"ISREDIT CAN"


Now my query is, Macro is applied for one member in a dataset as per the code.
I want to apply the macro funtion to all the members of the PDS.
Shortly I should open all the members of a PDS in EDIT mode and apply the macro.
Is it possible?
ram23bal
 
Posts: 33
Joined: Sat May 24, 2008 3:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ISPF EDIT Macro

 

Re: ISPF EDIT Macro

Postby MrSpock » Thu Jul 24, 2008 7:14 pm

Sure. Why not just use the ISPF Library Management (LM) services for dealing with PDS's, specifically the LMMLIST service.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post