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

How to get the layout of the copybook


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 11, 2009 4:14 pm
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
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 11, 2009 4:55 pm
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
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: 6966
Location: porcelain throne

PostPosted: Wed Feb 11, 2009 6:42 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Trying to change copybook in online c... CICS 4
No new posts Help to Filter File Manager Copybook ... DFSORT/ICETOOL 14
No new posts Need to add field to copybook, proble... COBOL Programming 14
No new posts Recompiling programs after a copybook... COBOL Programming 1
Search our Forums:

Back to Top