View previous topic :: View next topic
|
Author |
Message |
jasveer singh
New User
Joined: 06 Mar 2006 Posts: 16
|
|
|
|
Hi ,
Could anyone please let me know how do we declare a GSAM physical
name in IMS DC env that can be accessed using DLI calls .
Thanks !! |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Some information may be found here
For IMS DC you'd use the DBD statistics. |
|
Back to top |
|
|
jasveer singh
New User
Joined: 06 Mar 2006 Posts: 16
|
|
|
|
Thanks ! but this doesn't help me much .
I am looking for the way to specify the physical name like NPRDSW.GSAM.INPUT1
but couldn't find any relevant data . Thanks !! |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
You define it in the DBD just like a normal database. |
|
Back to top |
|
|
rajatbagga
Active User
Joined: 11 Mar 2007 Posts: 199 Location: india
|
|
|
|
hello ,
this the way to definr your GSAM file:
STEP 1 : GSAM DBD
PRINT NOGEN
DBD NAME=GSAMDBD,ASSESS=(GSAM,VSAM)
DATASET DD1=INPUT,DD2=OUTPUT,DEVICE=3350,RECFM=F,
RECORD=80
DBDGEN
FINISH
END
STEP2 :GSAM PSB
PCB TYPE=GSAM,NAME=GSAMDBD,PROCOPT=L OR G (DEPENDING UPON YOUR REQUREMENT)
PSBGEN LANG=COBOL,PSBNAME=GSAMGET1,CMPAT=YES
END
THIS THE WAY OF DEFINING GSAM
IN YOUR COBOL PROGRAM YOU DONT HAVE ANY PHYSICAL NAME OF GSAM FILE THE PCB-MASK DEFINED BY YOU FOR THIS GSAM IN YOUR LINKAGE SECTION WILL BE USED IN YOUR DLI CALLS TO READ FROM OR TO WRITE INTO GSAM FILE.
IN JOB YOU WILL BE SPECIFING PSB=GSAMGET1 |
|
Back to top |
|
|
|