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 DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Accessing first bit of PD value rajatbagga DFSORT/ICETOOL 11 Wed May 03, 2017 6:03 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm


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