HP3000-L Archives

May 2002, Week 3

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 Abootorab <[log in to unmask]>
Reply To:
Michael Abootorab <[log in to unmask]>
Date:
Wed, 15 May 2002 17:02:59 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (82 lines)
Hi,

You need to terminate the list with a ';'.

$list = 'f1,f2; ';
...

Thanks
Michael

On Wed, 15 May 2002 13:50:37 -0700, Braun Brelin <[log in to unmask]> wrote:

>Duane,
>
>I changed the mode to mode 5, still gives me the same
>problem.  It's really strange.  IF I don't specify a
>list of fields, then I get a subset of fields of the
>entire record, some of which have the binary/unsigned
>packed decimal data in them. If I specify a list of
>fields, then I get the error.
>
>Braun
>
>--- Duane Percox <[log in to unmask]> wrote:
>> Hi Braun,
>>
>> I haven't used perl with image so what follows
>> is info more based on image knowledge.
>>
>> 1. the 3'rd parm in a dbget is the mode.
>>    A mode of 2 is a serial read and not what
>>    you would do when doing a dbfind first.
>>
>>    in image you can retrieve records by various
>>    methods depending on the dataset (table) type.
>>
>>    if the dataset is a detail set then you can find
>>    all records with a common key value (dbfind) and
>>    then do a loop of dbget calls with mode=5 to get
>>    all the records. in essence you are retrieving
>>    a linked list, linked by common key values.
>>
>>    if the dataset is a manual master you can read a
>>    record by its key value. this would be a dbget
>> with
>>    a mode=7.
>>
>>    both details and masters can be read serially
>> with mode=2.
>>
>> 2. Have you tried to change the syntax in the field
>> parms to
>>    be like the one thing that did work?
>>
>>    IOW: %record =
>> DbGet($db,$dataset,2,'E-TRANS-NBR-ID,PROCE-DATE');
>>
>>    This will help you isolate the problem since if
>> this works then
>>    you know your construct for defining the field
>> list is not exactly
>>    correct.
>>
>> good luck!
>>
>> duane
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>LAUNCH - Your Yahoo! Music Experience
>http://launch.yahoo.com
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

Hi

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

ATOM RSS1 RSS2