Michael,
MPE::IMAGE automatically places the ';' if I leave it
off, however, I've tried doing this explicitly. I
still get the same errors.
Braun
--- Michael Abootorab <[log in to unmask]> wrote:
> 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 *
__________________________________________________
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 *
|