MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GSAM - checkpoint/restart logic on output files.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Mon Jul 24, 2006 11:12 pm    Post subject: GSAM - checkpoint/restart logic on output files. Reply with quote

Hi,

I got a CR with a requirement to write record to Error File whenever certain column of a DB2 table is empty. The program is COBOL-IMSDB-DB2 program. It first reads the record from GSAM file then does DB2 table look-up then apply updates. The Error File must be a GSAM file. So, I added the code to the program, changed corresponding PSB also, I put TYPE=GSAM and DBDNAME=Filename. Now, I would like to know about the checkpoint/restart logic on GSAM output files.

1). Do we apply checkpoint/restart logic only on input files?
2). Are the output GSAM files eligible to apply checkpoint/restart logic?
3). Does it make sense to apply checkpoint/restart logic on output GSAM files? Because, generally, in case of an abend, we would like to continue reading where we stopped through chkpt/rstrt logic........isn't it?
4). Is it true that the chkpt/rstrt logic can be applied on both input and output GSAM files?
5). What are the advantages if we apply chkpt/rstrt logic on an output GSAM files?
6). How do we go about chkpt/rstrt logic on a GSAM file that is opened in I-O mode for updates?

Please clear my doubts.

TIA.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Jul 25, 2006 5:07 am    Post subject: Reply with quote

mf_user,

Please search the forum for "gsam" and "checkpoint" in the forum. Evil or Very Mad

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Wed Jul 26, 2006 8:03 am    Post subject: Reply with quote

Ok Kolusu............. Sad
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group