Hi All,
I need to save the content of a source file member into a single field of a table.
1) Basically I have a temporary source file member:
CRTSRCPF QTEMP/QRULE
2) Containing one single mbr where the user can write in it some information:
STRSEU SRCFILE(QTEMP/QRULE) SRCMBR(RULE)
3) now I have to UPDATE a table MYLIB/RULES having RULE_FIELD VARCHAR(10878) =
concatenate all SRCFILE(QTEMP/QRULE) SRCDTA field
In this way RULE_FIELD will contain
QRULE(ROW1).SRDTA concat RULE(ROW2).SRDTA concat RULE(ROW3).SRDTA concat....
Hopefully my request is clear enough.
I need to save the content of a source file member into a single field of a table.
1) Basically I have a temporary source file member:
CRTSRCPF QTEMP/QRULE
2) Containing one single mbr where the user can write in it some information:
STRSEU SRCFILE(QTEMP/QRULE) SRCMBR(RULE)
3) now I have to UPDATE a table MYLIB/RULES having RULE_FIELD VARCHAR(10878) =
concatenate all SRCFILE(QTEMP/QRULE) SRCDTA field
In this way RULE_FIELD will contain
QRULE(ROW1).SRDTA concat RULE(ROW2).SRDTA concat RULE(ROW3).SRDTA concat....
Hopefully my request is clear enough.
Comment