Skip to Content
0
Jan 16, 2008 at 05:54 AM

READ_TEXT

210 Views

Hi,

Currently my program only creates one A2 type comment record per notification, however as per the requuirement it should accommodate up to nine A2 type records per notification.

So I have to Modify the processing for A2 type records as follows.

1. If long text exists(QMFE-INDTX is not initial), retrieve the long text...and I did this by calling READ_TEXT

and then I have to create up to

nine, 100 bytes A2 type records for that notification, incrementing t_output_dtl-

rcsn by 1 per A2 record created, per notification.

3. To maximize the limitation imposed by OneSource system,

(a) Do not include blank lines of long text

(b) When possible, concatenate lines of long text together with a space character

between them.

Example:

RTVPO 4200821352

1.zhfjdhkjd xkdgilfug ksjgdoidrjgt lskfgdj sdkljgdfokj dzkjgldkjfg

deg

2. .120 dim U'size

SHIP NEXT DAY

Would create three A2 comment records (each a max of 100 chars) as shown below

RTVPO 4200821352 1. zhfjdhkjd xkdgilfug ksjgdoidrjgt lskfgdj sdkljgdfokj dzkjgldkjfg deg 2. .120 dim U'size SHIP NEXT DAY

Please give me logic for this ASAP.

Reward will be given.

Thanks in advance