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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top