Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
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    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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, 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: 55
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: 401
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us