Help Required

Deskin, Bob Bob.Deskin@Cognos.COM
Mon, 26 Mar 2001 10:24:11 -0500


Sounds like you should do a retrieval on FILEA in the PATH or POSTPATH
procedure and set your PATH value based on retrieval. I gather that you
prompt the user for the retrieval value.

Then modify the FIND procedure to do the retrieval you want. FILEA would be
a DESIGNER file and FILEB would be the PRIMARY with FILEC a SECONDARY.

Bob Deskin              
PowerHouse Web Product Manager and Senior Product Advisor
Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA

-----Original Message-----
From: Kevin O'Sullivan [mailto:kosullivan@cosworth-racing.co.uk]
Sent: March 26, 2001 10:14 AM
To: 'Powerhouse List Group'
Subject: Help Required


Hi all,

I am having major difficulty in getting my head around a problem I have.

Temp T-POREQST Char*10

FILEA - KSAM - consists of only two fields, POREQST and PO
where POREQST is x(30) and a repeating key, whilst PO is x(10)

FILEB - IMAGE MASTER - contains many fields, two of which are POREQST and PO
where PO is x(10) and a repeating key, whilst POREQST is x(30)

FILEC - IMAGE - DETAIL - occurs 6 and contains many fields, one of which is
PO
where PO is x(10) and a repeating key

I need to perform a Find on FILEA via POREQST using T-POREQST, if the record
is found, then get FILEB via PO of FILEA and FILEC via PO of FILEA

If no record is found in FILEA, I want to sequentially read down FILEB,
selecting where POREQST of FILEB = T-POREQST, then get FILEC via PO using PO
of FILEB

In short, the KSAM file holds a daily xref of POREQST and PO, whereas the
IMAGE MASTER only allows sequential searches via the POREQST field. So, the
KSAM will allow keyed retrieval for all data prior to the next 'Update the
Ksam xref' job.

I hope I haven't created too much confusion, and that someone can shed some
light on my dilemma.

Of course, it may be straight forward......

Many thanks,,

Kevin

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Kevin O'Sullivan                        Cosworth Racing Limited,  -
- Systems Administrator                   The Octagon,              -
- Business Information Systems            St James Mill Road,       -
-                                         Northampton, England,     -
-                                         NN5 5RA.                  -
-                                         Tel: +44 (0) 1604 598488  -
- mailto:kosullivan@cosworth-racing.co.uk Fax: +44 (0) 1604 598506  -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
The views expressed above are mine entirely and in no way represent
those of my employer.



****************************************************************************
****
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the email administrator - mailadmin@cosworth-racing.co.uk
****************************************************************************
****

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.