View previous topic :: View next topic
|
Author |
Message |
pankaj s agarwal
New User
Joined: 28 Feb 2008 Posts: 2 Location: noida
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
There is a product called File Aid available on the market .... |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
File Manager and StarTool are other products related.
but, that screen is a CICS screen? |
|
Back to top |
|
|
pankaj s agarwal
New User
Joined: 28 Feb 2008 Posts: 2 Location: noida
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
IMHO: Feasible but not advisable. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
|