View previous topic :: View next topic
|
Author |
Message |
jasveer singh
New User
Joined: 06 Mar 2006 Posts: 16
|
|
|
|
Hi ,
I need to read data from a GSAM file in an Online transaction .
I know we can define GSAM physical name in JCL in a Batch job
But for Online transactions , we don't have JCL . How do i link the PCB of GSAM in my PSB with the physical name of GSAM datasets .
for e.g Physical name of my GSAM dataset that i can access using ISPF option 3.4 is ' NACCAR.GSAM.DB'
how would Online transaction link with this GSAM dataset.
Thanks and Regards,
Jasveer Singh |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
I posted this sticky hoping people would follow the hints in it. Follow the first link there, search for GSAM and learn all about it. If you can't find what you looked for feel wellcome to get back. |
|
Back to top |
|
|
jasveer singh
New User
Joined: 06 Mar 2006 Posts: 16
|
|
|
|
Hi,
I could find some data about accessing GSAM file in IMS DC environment .
But no information is given about linking Physical GSAM dataset with its
PCB definition as in application PSB .
Please Help |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
The physical GSAM dataset name is mentioned in the DBD and in the PSB-gen. Search harder |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
GSAM file in IMS DC environment |
GSAM is for IMS BMP and not for IMS MPP. |
|
Back to top |
|
|
dr_te_z
New User
Joined: 08 Jun 2007 Posts: 71 Location: Zoetermeer, the Netherlands
|
|
|
|
Bitneuker wrote: |
The physical GSAM dataset name is mentioned in the DBD and in the PSB-gen. Search harder |
and the asnwer is: "No, cannot be done". Did you know that when you gave that advice? |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Code: |
***********************************************************************
* HOLLAND *
* DBD FOR GSAM DB FOR LRR OUTPUT RECORDS (DXALRR RECORDS) *
*****************************AND***************************************
* LRRINP IS A DUMMY AND NOT USED *
* *
***********************************************************************
SPACE
DBD NAME=DXADBLRR,ACCESS=(GSAM,BSAM)
DATASET DD1=LRRINPA,DD2=DXALRR,RECFM=VB
DBDGEN
FINISH
END
********************************* Top of Data **************************
***********************************************************************
* HOLLAND *
* PSB NAME: DXAECLL *
* *
* CONTENT : 1. PCB: I/O PCB *
* 2. PCB: DB-PCB FOR COMPLETED LETTER LIBRARY *
* 3. PCB: GSAM-PCB FOR DATA SET WITH UNLOADED LRR'S *
* *
***********************************************************************
PRINT NOGEN
SPACE
PCB TYPE=DB,DBDNAME=DXADBCLL,PROCOPT=A,KEYLEN=22
SENSEG NAME=CLLROOT
*
PCB TYPE=GSAM,DBDNAME=DXADBLRR,PROCOPT=L
*
PSBGEN LANG=PL/I,CMPAT=YES,PSBNAME=DXAECLL
END
|
My reaction was related to this:
Quote: |
But no information is given about linking Physical GSAM dataset with its
PCB definition as in application PSB .
|
The link was to make TS do some investigation by himself. It's not the first question about GSAM. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
dr_te_z wrote: |
Bitneuker wrote: |
The physical GSAM dataset name is mentioned in the DBD and in the PSB-gen. Search harder |
and the asnwer is: "No, cannot be done". Did you know that when you gave that advice? |
Yes I knew and have stated this before. |
|
Back to top |
|
|
|