View previous topic :: View next topic
|
Author |
Message |
Asif Iqbal
New User
Joined: 17 May 2005 Posts: 27 Location: Pune, India.
|
|
|
|
Hi Friends,
I have a requirement to access members of a GDG from an online program. I guess it is possible, as CICS programs can access VSAM & Flat files both.
But there is a issue; I will explain with example:
In Apr, 07 the online program needs to access 3 members of GDG (of Jan, Feb & Mar months)
In May, 07 the online program needs to access 4 members of GDG (of Jan, Feb, Mar & Apr months)
I don't know how this can be achieved as to access any file (or member of GDG :? ) , it should be defined in FCT. Or is there a special way in which CICS handles GDG?
Please shed some light on this issue.
Thanks in advance.
Asif |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Is there some reason that the CICS program MUST access 3 generations of the gdg?
From what you've described, it may be more straight-forward to have a scheduled batch process that runs each quarter to create a file with the data from the needed 3 months. That file could then be used in CICS. If you made this a vsam file multiple CICS users could access it easily. |
|
Back to top |
|
|
Asif Iqbal
New User
Joined: 17 May 2005 Posts: 27 Location: Pune, India.
|
|
|
|
Yes Dick, I agree with you.
Thanks,
Asif |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome. |
|
Back to top |
|
|
|