ISPF EDIT Macro

TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...
ram23bal
Posts: 32
Joined: Sat May 24, 2008 3:57 pm
Skillset: COBOL
REXX
JCL
IMS DB
Referer: google

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?

User avatar
MrSpock
Global moderator
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
Referer: ibmmainframes.com
Location: Raleigh NC USA
Contact:

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.


  • Similar Topics
    Replies
    Views
    Last post