View previous topic :: View next topic
|
Author |
Message |
smilingashutosh
New User
Joined: 08 Jun 2006 Posts: 22
|
|
|
|
hi,
can anybody let me know is epdf command can be used in rexx if yes then how ?
Thanks
Ashutosh |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Did you try it? |
|
Back to top |
|
|
smilingashutosh
New User
Joined: 08 Jun 2006 Posts: 22
|
|
|
|
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 |
|
|
oerdgie
New User
Joined: 22 Nov 2007 Posts: 64 Location: Germany
|
|
|
|
Try in REXX :
ADDRESS ISPEXEC "SELECT CMD(%ISREPDF 'MyFile')"
MyFile is the DSN you like to edit. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
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 |
|
|
|