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

how to comeout out a dataset that was opened in edit mode


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Thu Mar 12, 2009 8:26 am
Reply with quote

I opened the file using
ADDRESS ISPEXEC "EDIT DATASET('"FILE"') MACRO("MACRO1")"

(FILE :a dataset name will be passesd)
As of now i manually come out of the dataset (using F3,cancel) from the FILE

& i want to close/comeout of the dataset automatically once the macro execution is completed .how to do this


Thanks
Prasad
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Mar 12, 2009 12:23 pm
Reply with quote

Within your macro, use "ADDRESS ISREDIT 'END''".

O.
Back to top
View user's profile Send private message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Thu Mar 12, 2009 7:45 pm
Reply with quote

Yahoo ....Thanks a lot
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts Identify Number of Multivolume Dataset All Other Mainframe Topics 5
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
Search our Forums:


Back to Top