PoloPlascencia
IS-IT--Management
Does anybody have documentation about UNIXEDI ?
I have an EDI application that uses scripts everytime that FTP's a mailbox. Our customer is ready to change their server and I need to update the script but have no clue on what does each command/code means. Any help is appreciated.
The script looks similar to this:
:LOGIN
send "open {ftphost} {ftpport}"
send "user {uid} {pw}"
recv mb
branch fail 11
UPDMB COMPL
XLATE
EXIT
11 UPDMB SCHED
exit
9 failrc "FAIL_LOG"
:ELOGIN
#
# Solicited RECV
#
:RECV
recv mb "EDI.*" delete
exit
:ERECV
#
# Solicited XMIT
#
:XMIT
10 chkmb
branch false 99
wait 1
send mb
branch fail 95
# mark outbound mb file complete
updmb compl
branch to 10
# on send error requeue outbound mb file
95 updmb sched
99 exit
:EXMIT
#
# Solicited EXCH
#
:EXCH
recv mb "o.*"
branch fail 99
10 chkmb
branch false 99
wait 1
send mb
branch fail 95
# mark outbound mb file complete
updmb compl
branch to 10
# on send error, requeue outbound mb file
95 updmb sched
99 exit
:EEXCH
#
# Unsolicited EXCH
#
:UNSEXCH
99 exit
:EUNSEXCH
Thanks.
I have an EDI application that uses scripts everytime that FTP's a mailbox. Our customer is ready to change their server and I need to update the script but have no clue on what does each command/code means. Any help is appreciated.
The script looks similar to this:
:LOGIN
send "open {ftphost} {ftpport}"
send "user {uid} {pw}"
recv mb
branch fail 11
UPDMB COMPL
XLATE
EXIT
11 UPDMB SCHED
exit
9 failrc "FAIL_LOG"
:ELOGIN
#
# Solicited RECV
#
:RECV
recv mb "EDI.*" delete
exit
:ERECV
#
# Solicited XMIT
#
:XMIT
10 chkmb
branch false 99
wait 1
send mb
branch fail 95
# mark outbound mb file complete
updmb compl
branch to 10
# on send error requeue outbound mb file
95 updmb sched
99 exit
:EXMIT
#
# Solicited EXCH
#
:EXCH
recv mb "o.*"
branch fail 99
10 chkmb
branch false 99
wait 1
send mb
branch fail 95
# mark outbound mb file complete
updmb compl
branch to 10
# on send error, requeue outbound mb file
95 updmb sched
99 exit
:EEXCH
#
# Unsolicited EXCH
#
:UNSEXCH
99 exit
:EUNSEXCH
Thanks.