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

HOW to open a COPY BOOK LIBRARY When an Enter Key is pressed


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

Active User


Joined: 15 Dec 2005
Posts: 271

PostPosted: Mon Mar 19, 2007 2:28 pm
Reply with quote

Hi all,

In a program(mentioned below in ex), if I press Enter Key placing the cursor in copy book name it should open the corresponding copy book available in respective library. (For example copy book c1 is present in library pxxxxas1.p00.copy it should open that library in browse mode) . The copy book libraries are available in a ps file. Please tell me how to do the above process with clist?

EX

WORKING STORAGE-SECTION.
COPY C1.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Mar 19, 2007 4:27 pm
Reply with quote

You should use Edit-macro commands:
1. Use the LINE command with .ZCSR to get the line.
2. Parse the copybook name.
3. Use the BROWSE/VIEW/EDIT service to open the member.

O.
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 VB to VB copy - Full length reached SYNCSORT 8
No new posts Calling an Open C library function in... CICS 1
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Duplicate several members of/in one l... JCL & VSAM 7
Search our Forums:

Back to Top