in reply to Re^2: Code Issue after Upgrading the perl from 5.14.4 to 5.22.3
in thread Code Issue after Upgrading the perl from 5.14.4 to 5.22.3
hi poj
I have corrected the config file and executed the script still the issue, if you notice the output for first run the script has picked the file and for the next run it failed, though the file is still available to process.
Output
$ ./aicallerbt -o 2017/02/11 07:44:19 [ 956] Outbound dir set to C:/AI_EDI/outbound/in 2017/02/11 07:44:19 [ 956] Total files found 1 2017/02/11 07:44:19 [ 956] Processing outbound file C:/AI_EDI/outbou +nd/in/TGTASN1234 2017/02/11 07:44:19 [ 956] Outbound Archive dir set to C:/AI_EDI/out +bound/BBBTGT/Inputarchive 2017/02/11 07:44:19 [ 956] WARN : Ignoring C:/AI_EDI/outbound/in/TGT +ASN1234, not found in the config file 2017/02/11 07:44:19 [ 956] E-mailing Outbound Document Report $ ./aicallerbt -o 2017/02/11 07:44:21 [ 5280] Outbound dir set to C:/AI_EDI/outbound/in 2017/02/11 07:44:21 [ 5280] Total files found 1 2017/02/11 07:44:21 [ 5280] Processing outbound file C:/AI_EDI/outbou +nd/in/TGTASN1234 2017/02/11 07:44:21 [ 5280] Outbound Archive dir set to C:/AI_EDI/out +bound/BBBTGT/Inputarchive 2017/02/11 07:44:21 [ 5280] "/bin/inittrans" -cs -at OTEnvelp.att -D +INPUT_FILE=C:/AI_EDI/outbound/in/TGTASN1234.cp -DMESSAGE=TGTo856FFEDI +.att -DBYPASS=OTINOByp.att -tl 0 -I 2017/02/11 07:44:21 [ 5280] sh: /bin/inittrans: No such file or direc +tory 2017/02/11 07:44:21 [ 5280] ERROR : Unable to open AI directory /appl +/
ignore Error messaage, my only criteria is $mapattch value
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Code Issue after Upgrading the perl from 5.14.4 to 5.22.3
by Corion (Patriarch) on Feb 11, 2017 at 07:42 UTC | |
|
Re^4: Code Issue after Upgrading the perl from 5.14.4 to 5.22.3
by poj (Abbot) on Feb 11, 2017 at 20:20 UTC | |
by Srinath (Initiate) on Feb 12, 2017 at 05:40 UTC |