I'm having difficulty storing an expression to be loaded into two separate columns.
We have two values -- RECORD_ID and ITEM_NUMBER which both need unique values per row.
My first impression was to somehow load the value of the sequence into a boundfiller or something of the like and then use it in both the record id and number, but I'm having difficulty understanding how I would go about that.
Below is a snippet of my current control file I'm using:
...
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS
(
FIELD1 BOUNDFILLER POSITION(1), --
...
FIELD79 BOUNDFILLER,
COLUMN_NAME EXPRESSION ":FIELD1",
ITEM_NUMBER EXPRESSION "???",
...
RECORD_ID "RECORD_ID_SEQ.NEXTVAL"
)
I was hoping I'd be able to do something like
TEMPVALUE BOUNDFILLER "RECORD_ID_SEQ.NEXTVAL"
but haven't found anything similar in nature.