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

Not able to close the member when opened in BROWSE mode


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

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Tue Feb 13, 2007 12:38 pm
Reply with quote

hi,
i am able to close a member when i opened that member in VIEW mode,
but i am not able to close that member when i opened in BROWSE mode ,can anybody help on that..
this is the code i used....

for view :

INDSN = "'"srcpds"("tmpmem")'"
ADDRESS ISPEXEC "LMINIT DATAID(EDT) DATASET('"srcpds"')"
ADDRESS ISPEXEC "LMOPEN DATAID("edt") OPTION(INPUT)"
ADDRESS ISPEXEC "VIEW DATAID("EDT") MEMBER("Tmpmem")"
ADDRESS ISPEXEC "lmclose DATAID("EDT")"
ADDRESS ISPEXEC "lmfree DATAID("EDT")"

for browse:
INDSN = "'"srcpds"("tmpmem")'"
ADDRESS ISPEXEC "LMINIT DATAID(EDT) DATASET('"srcpds"')"
ADDRESS ISPEXEC "LMOPEN DATAID("edt") OPTION(INPUT)"
ADDRESS ISPEXEC "browse DATAID("EDT") MEMBER("Tmpmem")"
ADDRESS ISPEXEC "lmclose DATAID("EDT")"
ADDRESS ISPEXEC "lmfree DATAID("EDT")"
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 13, 2007 1:52 pm
Reply with quote

What do you mean by "not able to close"? Do you get any message? Have you tried it with trace?

By the way, there is a second method for BROWSE service (without DATAID).

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

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Tue Feb 13, 2007 3:47 pm
Reply with quote

when i went in browse mode it's giving maxc=0 for lmclose but that member is still opened.
actually through ispf panel i am going into view or browse mode and by giving F3 key i am expecting the file to close.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 13, 2007 4:52 pm
Reply with quote

Have you tried the BROWSE without DATAID?

O.
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 How to close Datacom MUF URT used by ... CICS 0
No new posts Compare the member of two pds on las... DFSORT/ICETOOL 13
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts Is there a way to turn off the free=c... PL/I & Assembler 7
No new posts PDS member list with stats JCL & VSAM 6
Search our Forums:


Back to Top