>New to Gentran.  Can someone tell me how to populate total dollars in
>the IT1 segment into the TDS in Gentran?  I need to multiply IT101 x
>IT103 and put totals of IT1 into the TDS.

Well, that's part of it.

You also have to account for SAC segments (both 'whole invoice' and 'line 
item') as well as TXI segments.

Fortunately, the math is pretty simple: you just add.

If you meant the 'mechanics' of running a total, I know with Gentran/400 or 
Gentran/MVS you just use one of the provided accumulator fields and write it 
at the correct point. (But this might have a 'gotcha' in it,  since TXI and 
SAC follow TDS in the transaction set. Damn, I cannot remember how I did 
this!) (Oh, I remember now: I created an output record which was Write=No).

I don't know how it's done with Gentran for Unix or PC. But I'm sure both 
products offer something similar to the counter/accumulator fields offered 
by the AS400  and Mainframe products.

Michael C. Mattias
Tal Systems Inc.
Racine WI
[EMAIL PROTECTED]




...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to