Address nameless columns in Hashed files
Posted: Mon Apr 25, 2011 3:27 pm
Hello Gurus,
There's a hashed file which has two columns - Col1 and Col2. Col1 contains vachar data and is a key. Col2 is a timestamp field. I need to update Col2 data to '1700-01-01 00:00:00'.
When I do LIST.DICT here is what I get
My try with the following code was unsuccessful:
UPDATE <hashed file> SET Col2 = '1700-01-01 00:00:00'
Got error like - Invalid token at Col2.
How do I address columns in a Hashed file which has no names?
Thanks
-Mav
There's a hashed file which has two columns - Col1 and Col2. Col1 contains vachar data and is a key. Col2 is a timestamp field. I need to update Col2 data to '1700-01-01 00:00:00'.
When I do LIST.DICT here is what I get
Code: Select all
Type &
Field......... Field. Field........ Conversion.. Column......... Output Depth &
Name.......... Number Definition... Code........ Heading........ Format Assoc..
@ID D 0 SDKMaxLastUpdDt 10L S
tm_E
1 records listed.
UPDATE <hashed file> SET Col2 = '1700-01-01 00:00:00'
Got error like - Invalid token at Col2.
How do I address columns in a Hashed file which has no names?
Thanks
-Mav