[Download-List] Problem mixing single value and multi value fields

Johnson, Keith M KMJohnson at collegeofidaho.edu
Thu May 13 14:02:52 EDT 2010


It looks like you are doing this ok to me...
SELECT STUDENTS WITH STU.TERMS SAMPLE 1

1 records selected to list 0.

>.X2
DOWNLOAD STUDENTS BY.EXP STU.TERMS STU.TERMS
DOWNLOAD version 6.01
Using input file STUDENTS
Output to screen

"Jones, Kristen Nicole","08/FA"
"Jones, Kristen Nicole","09/WI"
"Jones, Kristen Nicole","09W/SP"
"Jones, Kristen Nicole","09/SP"
"Jones, Kristen Nicole","09/FA"
"Jones, Kristen Nicole","10/WI"
"Jones, Kristen Nicole","10W/SP"
"Jones, Kristen Nicole","10/SP"
"Jones, Kristen Nicole","10/FA"

1 record processed.

Can you run this against other files correctly with similar multivalve fields?
-KJ

Keith Johnson
Information Technology
#5209 (direct)
#5543 Fax

From: download-list-bounces at cedarville.edu [mailto:download-list-bounces at cedarville.edu] On Behalf Of Storey, Laurence
Sent: Thursday, May 13, 2010 10:50 AM
To: download-list at cedarville.edu
Subject: [Download-List] Problem mixing single value and multi value fields

Hello,

I'm trying to flatten some data for export to a spreadsheet.
Using standard sort/list commands, the data looks like this:

LS.INV.NUM..... UATB.N.CONTRACT

         393139 001-5087442-001
                001-5087442-002
                001-5087442-003

I want it to look like this:

         393139 001-5087442-001
         393139 001-5087442-002
         393139 001-5087442-003

I tried this syntax:

SELECT LS.INV.NUM BY.EXP UATB.N.CONTRACT.KEY WITH @ID = "393139"

3 records selected to list 0.

DOWNLOAD LS.INV.NUM UATB. at ID BY.EXP UATB.N.CONTRACT.KEY UATB.N.CONTRACT.KEY

I get this:

DOWNLOAD version 7.30
Using input file LS.INV.NUM
Output to screen

393139,"001-5087442-001"
393139,"001-5087442-001"
393139,"001-5087442-001"

Then I get this:

DOWNLOAD Error Listing                                                Page     1

                                                               09:19:03 05-13-10


Invalid syntax "UATB.N.CONTRACT.KEY UATB.N.CONTRACT.KEY": should be "UATB.N.CONTRACT.KEY multi-valuedField"



So, I get the repeated single value (which is good) but then I get the first value of the mult-value field repeated (and I get the error message). Not sure what I'm doing wrong, but if anyone can give me different syntax that might work, I would appreciate it.

BTW I'm using Unidata 6.0 (on UNIX).


Thanks,
-Larry

laurence.storey at carefusion.com<mailto:laurence.storey at carefusion.com>





_________________________________________________



This message is for the designated recipient only and may contain privileged, proprietary

or otherwise private information. If you have received it in error, please notify the sender

immediately and delete the original. Any other use of the email by you is prohibited.



Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese

Svenska: www.cardinalhealth.com/legal/email
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.cedarville.edu/pipermail/download-list/attachments/20100513/ff1d442f/attachment.html>


More information about the download-list mailing list