[Download-List] Using Downlaod to download all fields in a file.
Michael H. Martel
martelm at quark.vsc.edu
Mon Jun 27 13:36:29 EDT 2005
--On June 27, 2005 12:06:31 PM -0400 "David L. Rotman"
<rotmand at cedarville.edu> wrote:
> Does your file 'www.STATE' have any dictionary entries?
> DOWNLOAD reads the dictionary looking for data fields
> in order to know what output to produce.
When I do a LIST DICT on it I see ...
LIST DICT WWW.STATE BY TYP BY @ID TYP LOC CONV NAME FORMAT SM ASSOC
13:30:56 Jun
27 2005 1
@ID............ TYP LOC.......... CONV NAME........... FORMAT SM
ASSOC.....
@ID D 0 WWW.STATE 10L S
WWW.ADDRESS D 1 50L S
WWW.PORT D 2 4L S
WWW.REQUEST D 3 99L M
WWW.STATE.ID I FIELD(@ID,"*" WWW.STATE ID 18R S
,1)
5 records listed
> Adding HEADING FIELD.NAMES to your DOWNLOAD
> statement might help verify where the problem is occurring.
I get ...
DOWNLOAD WWW.STATE @RECORD HEADING FIELD.NAMES FILE _HOLD_ MY.TEST2
DOWNLOAD version 7.12
Creating temporary list DLMHM0609048595
632 key(s) saved to 1 record(s).
632 records retrieved to list 1.
Using input file WWW.STATE
Output to file _HOLD_ MY.TEST2
************************************************** 500
*************
632 records processed.
Deleting temporary list DLMHM0609048595
'DLMHM0609048595' deleted.
:!more _HOLD_/MY.TEST2
"@ID"
"044593060572882*07"
"888040626857169*07"
"762854409275085*07"
"838035695764305*03"
"220906110955584*07"
"500267033911585*03"
"036895053078200*03"
Michael
--
--------------------------------o---------------------------------
Michael H. Martel | Systems Administrator
michael.martel at vsc.edu | Vermont State Colleges
http://www.vsc.edu/~michael | PH:802-241-2544 FX:802-241-3363
More information about the download-list
mailing list