Skip to main content

1: chk_for_hdr


Technote (troubleshooting)


Problem(Abstract)

Inbound SAP deliveridoc script sid0_sid.scr fails on chk_for_hdr.

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

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

Symptom

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


Cause

On AIX 6.1 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

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Sterling Gentran:Server for UNIX

Extensions


Software version:
All


Operating system(s):
AIX


Reference #:
1592667


Modified date:
2013-04-23

Translate my page

Content navigation