Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to get the layout of the copybook

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
pankaj s agarwal

New User


Joined: 28 Feb 2008
Posts: 2
Location: noida

PostPosted: Wed Feb 11, 2009 3:21 pm    Post subject: How to get the layout of the copybook
Reply with quote

Hi,

I have a situation wherein i enter a VSAM file name and its corresponding copybook on a screen and the requirement is to display the copybook layout on the next screen on pressing enter. Is there any utility available for this or any other technique that i can use here.

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

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Feb 11, 2009 4:14 pm    Post subject:
Reply with quote

There is a product called File Aid available on the market ....
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Wed Feb 11, 2009 4:18 pm    Post subject:
Reply with quote

File Manager and StarTool are other products related.

but, that screen is a CICS screen?
Back to top
View user's profile Send private message
pankaj s agarwal

New User


Joined: 28 Feb 2008
Posts: 2
Location: noida

PostPosted: Wed Feb 11, 2009 4:28 pm    Post subject: Reply to: How to get the layout of the copybook
Reply with quote

ya that screen is a CICS screen...
Let me explain it again if i m not clear. I have a CICS screen on which user enters a VSAM file name and its copybook and i need to display the layout of the copybook fields on the next CICS screen.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Feb 11, 2009 4:55 pm    Post subject:
Reply with quote

Oh, we're perfectly clear about what you want. We're telling you commercially available products that do what you want.

If you want to do this yourself in CICS, ask yourself exactly from where are you going to get the copybook? CICS reads sequential files and VSAM files. In other words, to do what you want, YOU must load the copy books that define your VSAM files into a VSAM file, create a map with the appropriate fields, and put out the data. This will not be a trivial task but it is not extremely complicated. Unless, of course, someone changes the copybook in which case how do you pick up the change -- you can't access the source directly in CICS ....
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Wed Feb 11, 2009 6:15 pm    Post subject:
Reply with quote

IMHO: Feasible but not advisable.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Wed Feb 11, 2009 6:42 pm    Post subject:
Reply with quote

Since the copybook would have to be a 'copy' of the repository copybook,
the maintenance for this is unaccepatble. (any updates would need to be populated to whatever warehouse you would have for the cics session.

who dreamed-up this requirement? no reason to use up a cics session for a developer activity.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts Geneartion of COBOL copybook structre... murugan_mf COBOL Programming 3 Fri May 20, 2016 12:48 pm
No new posts View Copybook having COPY statement i... nkumar Compuware & Other Tools 6 Mon May 16, 2016 7:28 pm
No new posts File comparsion - Records are in diff... Suganya87 COBOL Programming 11 Tue May 10, 2016 1:05 pm
No new posts JCL Utility in accordance to the copy... meetsupriyo JCL & VSAM 3 Tue Dec 08, 2015 8:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us