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
 

 

IMS/DB - Working with GSAM files.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
ranga_subham

New User


Joined: 01 Jul 2005
Posts: 51

PostPosted: Wed Mar 08, 2006 3:37 pm    Post subject: IMS/DB - Working with GSAM files.
Reply with quote

Hi,

Shortly, I will be working on COBOL, DB2 & IMS/DB with GSAM access method. I request you people to tell me the critical details about this combination. What is peculiar about GSAM and what are the constraints? I never worked on IMS before.

Please let me know what is possilble / not possible while working on COBOL-DB2-IMS/DB (GSAM).

Thanks for your time.
Back to top
View user's profile Send private message

gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Thu Mar 09, 2006 9:11 am    Post subject: Re: IMS/DB - Working with GSAM files.
Reply with quote

ranga_subham wrote:
Hi,

Shortly, I will be working on COBOL, DB2 & IMS/DB with GSAM access method. I request you people to tell me the critical details about this combination. What is peculiar about GSAM and what are the constraints? I never worked on IMS before.

Please let me know what is possilble / not possible while working on COBOL-DB2-IMS/DB (GSAM).

Thanks for your time.


Hi Ranga_subham,

regarding the GSAM files, you need to specify the GSAM file you are supposed to use in PCB list of the PSB. this can be done by specifying as TYPE=GSAM.

There is nothing great with respect to GSAM files as they too are flat files. it all depends on the application whether you need to build and insert into the GSAM file or read from the GSAM file.

please let me know for more clarification. in the mean time, i too will look for that PSB.

kind regards,

gowtham
Back to top
View user's profile Send private message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Thu Mar 09, 2006 9:42 am    Post subject: Re: IMS/DB - Working with GSAM files.
Reply with quote

Hi Ranga_subham,

PFA the psb with gsam file.

kind regards,

gowtham
Back to top
View user's profile Send private message
ranga_subham

New User


Joined: 01 Jul 2005
Posts: 51

PostPosted: Thu Mar 09, 2006 2:14 pm    Post subject:
Reply with quote

Hi gowtham_1982,

Thanks for the inputs you've given. It is useful to me. I am told that a senior person will give a lecture on GSAM on IMS/DB after a week or two.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 287
Location: Basel, Switzerland

PostPosted: Thu Mar 09, 2006 9:25 pm    Post subject:
Reply with quote

hy ranga,
gsam means general sequential access method,
means there is a possibility to use a sequentiel
dataset (input or output) like an ims-db.
this is useful for data integrity, means all data in
ims or db2 are in two phase commit state,
therefore the data integrity is always given.
If you work with sequentiel datasets as well,
data integrity is only given, when using your
sequentiel files as gsam files.
for a full discussion, wait for your lecture first,
then you will understand, it is easier as you
might think...

martin9
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


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