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

Accessing GDGs from CICS program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Asif Iqbal

New User


Joined: 17 May 2005
Posts: 27
Location: Pune, India.

PostPosted: Wed Feb 14, 2007 11:50 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Feb 14, 2007 9:17 pm
Reply with quote

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
View user's profile Send private message
Asif Iqbal

New User


Joined: 17 May 2005
Posts: 27
Location: Pune, India.

PostPosted: Thu Feb 15, 2007 11:29 am
Reply with quote

Yes Dick, I agree with you.


Thanks,
Asif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Feb 15, 2007 8:00 pm
Reply with quote

You're welcome. icon_smile.gif
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 Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top