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

Accessing GSAM files thru Online Screen


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jasveer singh

New User


Joined: 06 Mar 2006
Posts: 16

PostPosted: Thu Jun 21, 2007 3:23 pm
Reply with quote

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

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Jun 21, 2007 3:45 pm
Reply with quote

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

New User


Joined: 06 Mar 2006
Posts: 16

PostPosted: Thu Jun 21, 2007 4:56 pm
Reply with quote

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

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri Jun 22, 2007 12:27 am
Reply with quote

The physical GSAM dataset name is mentioned in the DBD and in the PSB-gen. Search harder icon_wink.gif
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Jun 22, 2007 6:41 am
Reply with quote

Quote:
GSAM file in IMS DC environment


GSAM is for IMS BMP and not for IMS MPP.
Back to top
View user's profile Send private message
dr_te_z

New User


Joined: 08 Jun 2007
Posts: 71
Location: Zoetermeer, the Netherlands

PostPosted: Fri Jun 22, 2007 10:39 am
Reply with quote

Bitneuker wrote:
The physical GSAM dataset name is mentioned in the DBD and in the PSB-gen. Search harder icon_wink.gif
and the asnwer is: "No, cannot be done". Did you know that when you gave that advice?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri Jun 22, 2007 2:47 pm
Reply with quote

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

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri Jun 22, 2007 3:16 pm
Reply with quote

dr_te_z wrote:
Bitneuker wrote:
The physical GSAM dataset name is mentioned in the DBD and in the PSB-gen. Search harder icon_wink.gif
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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Joining files with intermittent heade... SYNCSORT 1
No new posts INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts JCL to merge two files side by side DFSORT/ICETOOL 3
No new posts Create a specific record/file based o... SYNCSORT 8
Search our Forums:


Back to Top