Hi Gurus,
We use below statement to load file records into the table. Now my question is, can I skip few records in the file.
load from /file_outbound/db2load_pipe of ASC METHOD L (1 2, 3 4, 5 15)
MESSAGES /file_outbound/db2load_pipe.MESG
REPLACE INTO SCHEMA_NAME.ERROR_MESSAGES(JOB_ID, ROW_ID, ERROR_MESSAGE)
NONRECOVERABLE
For eg:
If we have data in the file
10 1TRUE

ESCRIPTION
10 2FALSE

ESCRIPTION
10 3FALSE

ESCRIPTION
10 4TRUE

ESCRIPTION
10 5TRUE

ESCRIPTION
I'd like the table to have records with TRUE starting in position 5. Need to skip records with value FALSE.
Table should have
COL1 COL2 COL3
10 1 TRUE

ESCRIPTION
10 4 TRUE

ESCRIPTION
10 5 TRUE

ESCRIPTION
Is this possible?
Thnx
MMe