Date:         Mon, 7 Aug 1995 09:11:16 +0800
Reply-To:     The NOMAD2 Discussion List
Sender:       The NOMAD2 Discussion List
From:         Antony Man
In-Reply-To:  "Mail dated 95/08/04 20:43:34 UT from (NOMAD2-L) The NOMAD2
              Discussion List"

You should set the value expilictly instead of setting it in the load
statement. This will always read the value form col 1. So, you should set
&tstcol1 before the load.



Regards,

Antony MAN
___Original Letter _______________________________________
Date: 01 Aug 1995 18:04:08 +0800
Sender:   The NOMAD2 Discussion List           (NOMAD2-L)
From:     Kok Gek-Siang                        (R2194C)
To:       Multiple recipients of list NOMAD2-L (NOMAD2-L)
Reply-To: The NOMAD2 Discussion List           (NOMAD2-L)

Hi,

Is it possible to load into a master and defaulting an item to a
specific value for all records read from an input file e.g.

LOAD TSTMAST
  READ IN ONMATCH REPLACE
    SET         &TSTCOL1  <== default this column to a specific value
        COL   6 &TSTCOL2                 FORM A4
        COL  10 &TSTCOL3                 FORM A5;

Thanks.
___End of Original Letter_________________________________
back to index