Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
"EPDF dataset" command can be used in rexx if the

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
smilingashutosh

New User


Joined: 08 Jun 2006
Posts: 22

PostPosted: Fri Sep 29, 2006 5:58 pm    Post subject: "EPDF dataset" command can be used in rexx if the
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
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4061
Location: Charlotte,NC USA

PostPosted: Fri Sep 29, 2006 6:05 pm    Post subject: Re: "EPDF dataset" command can be used in rexx if
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    Post subject: Re: "EPDF dataset" command can be used in rexx if
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: 14
Location: Germany

PostPosted: Tue Nov 03, 2009 10:21 pm    Post subject:
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: 404
Location: Mumbai

PostPosted: Tue Nov 03, 2009 10:29 pm    Post subject: Reply to: "EPDF dataset" command can be used in r
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1