View previous topic :: View next topic
|
Author |
Message |
Sasi Kiran Patha Warnings : 2 New User
Joined: 19 Nov 2006 Posts: 73 Location: Hyederabad
|
|
|
|
hi ,
i have a batch program which has GSAM file as output.
Syntax in JCL for the file with production parameters:
OUTFILE DD DSN=&LIB2..CBFILE(+1),
DCB= (SYS1.DSCB,LRECL=101,BLKSIZE=8989,RECFM=FB),
UNIT=TAPE,LABEL=RETPD=05,
DISP=(,CATLG,DELETE),VOL=(,RETAIN)
The program inserts data in to the file using the following call:
CALL 'CBLTDLI' USING FUNC-ISRT
HFCSGS-PCB-1
WS-GS-RECORD1.
I have to test the program in test region. Does it require a GSAM defined in the test region. Any other alternative way to test.
Please Clarify if the GSAM file is actually getting created in the above JCL.
thanking you.
sasi patha |
|
Back to top |
|
|
IQofaGerbil
Active User
Joined: 05 May 2006 Posts: 183 Location: Scotland
|
|
|
|
&LIB2..CBFILE(+1)
Will be created by this JCL
only if
when expanded, the GDG base exists based on the value of &LIB2
eg
if &LIB2 = 'TEST.GDGBASE'
then TEST.GDGBASE.CBFILE must exist as a GDG base, otherwise you will have to create it before you try to run the job
alternative?
overwrite the File name with a test one of your own |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Here you may find information about GSAM. |
|
Back to top |
|
|
Sasi Kiran Patha Warnings : 2 New User
Joined: 19 Nov 2006 Posts: 73 Location: Hyederabad
|
|
|
|
Thank you... it worked the way u mentioned. |
|
Back to top |
|
|
|