Inbound SAP deliveridoc script sid0_sid.scr fails on chk_for_hdr.

Technote (troubleshooting)


Problem(Abstract)

Inbound SAP deliveridoc script sid0_sid.scr fails on chk_for_hdr step

Script excerpt:
STEPS
:chk_for_hdr
test EDI_DC = `head -1 $XL_INFNAME | cut -c 1-6`

Symptom

log file sid0_sid.old:
1: chk_for_hdr: test EDI_DC = `head -1 .KROG8504010P.000H3H.000020832.000020834 | cut -c 1-6`


Cause

On AIX 6.1, the head command requires modified invocation.

AIX versions prior to 6.1 head -1
AIX 6.1 head -n 1


Resolving the problem

Edit head command in script sid0_sid.scr:

STEPS
:chk_for_hdr
test EDI_DC = `head -n 1 $XL_INFNAME | cut -c 1-6`


Rate this page:

(0 users)Average rating

Document information


More support for:

Sterling Gentran:Server for UNIX
Extensions

Software version:

6.0.2, 6.1, 6.2

Operating system(s):

AIX

Reference #:

1592667

Modified date:

2013-11-22

Translate my page

Machine Translation

Content navigation