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

"EPDF dataset" command can be used in rexx if the


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
smilingashutosh

New User


Joined: 08 Jun 2006
Posts: 22

PostPosted: Fri Sep 29, 2006 5:58 pm
Reply with quote

hi,

can anybody let me know is epdf command can be used in rexx if yes then how ?

Thanks
Ashutosh
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Sep 29, 2006 6:05 pm
Reply with quote

Did you try it?
Back to top
View user's profile Send private message
smilingashutosh

New User


Joined: 08 Jun 2006
Posts: 22

PostPosted: Fri Sep 29, 2006 6:15 pm
Reply with quote

ya superk.i tried it as shown below

/* REXX */
ADDRESS ISREDIT "MACRO"
ADDRESS ISPEXEC "CONTROL ERRORS RETURN"
X = SYSDSN("'NBK7VYS.MYBACK.FILE'")
IF X = 'OK' THEN
DO
ADDRESS ISREDIT "CUT .ZF .ZL"
ADDRESS ISREDIT "EPDF 'NBK7VYS.MYBACK1.FILE(XX)' "
EXIT
END

but the mentioned dataset is not getting opened in edit mode,
can u suggest something, also no error in program
Back to top
View user's profile Send private message
oerdgie

New User


Joined: 22 Nov 2007
Posts: 64
Location: Germany

PostPosted: Tue Nov 03, 2009 10:21 pm
Reply with quote

Try in REXX :

ADDRESS ISPEXEC "SELECT CMD(%ISREPDF 'MyFile')"

MyFile is the DSN you like to edit.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Tue Nov 03, 2009 10:29 pm
Reply with quote

You don't need to use ISREPDF. There is a ISPEXEC EDIT service.

For future reference, EPDF is a command you can invoke from any ISPF screen. You can find out how those are called by looking at the command tables, usually option 3.9 from the ISPF Primary Options Menu
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top