HP3000-L Archives

January 2004, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Anderson <[log in to unmask]>
Reply To:
Michael Anderson <[log in to unmask]>
Date:
Wed, 7 Jan 2004 14:02:17 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
I would somehow-another verify that your detail dataset buffer contains
the correct value in the key fields, mainly the field that links the
manual master. That or check the master entry value. If the values match
all you need is DBPUT the detail, if you get no-chain head it means the
fields in the mast/detail do not match.

PUT the master/Reject the detail depends on your application design.

Common causes for buffer problems in COBOL would be using the STRING
verb to move data into your data buffer, and not using INITIALIZE prior
to the STRING. STRING does not initialize a variable first, where MOVE
does. Also a MOVE of an '01' level variable to another '01', and the
lower levels are not pictured the same size. I'm sure more gotchas
exist, but that's it off the top.




--
Michael Anderson
Spring Independent School District
16717 Ella Boulevard
Houston, Texas 77090-4299
office: 281.586.1105
fax: 281.586.1187
-

>>> thuong do <[log in to unmask]> 01/07/04 12:47PM >>>
Happy New Year Everyone!

I need to add an entry to detail data set with a maste set link to it.
 I know I must add the master before I can add the detail.
But in the case the master is already exist, I have error "no chain
head (master entry) for path 1 in set xx" when I call dbput to the
detail.  Do I need to dbget the master and use the chain to dbput to the
detail?   I completely forget how to code it.   Please help!

Thank you so much!



---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2