You want to use jBasic for this.

OPEN 'FILE1' TO F.FILE1 ELSE STOP 201,'FILE1'
OPEN 'FILE2' TO F.FILE2 ELSE STOP 201,'FILE2'

SELECT F.FILE1

DONE = 0
LOOP
    READNEXT ID ELSE DONE = 1
UNTIL DONE DO
    READ REC FROM F.FILE1,ID THEN
         CUSTID = whatever
         REC1 = ''
         REC1<xx> = REC<accountbalance>
         WRITE REC1 ON F.FILE2,CUSTID
    END
REPEAT

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to