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
 

 

Accessing GDGs from CICS program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Accessing GDGs from CICS program
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

Site Director


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

PostPosted: Wed Feb 14, 2007 9:17 pm    Post subject:
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    Post subject: Re: Accessing GDGs from CICS program
Reply with quote

Yes Dick, I agree with you.


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

Site Director


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

PostPosted: Thu Feb 15, 2007 8:00 pm    Post subject:
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    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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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