Thank you Monks
I have corrected the config file and executed the script still the same 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
In reply to Re: Code Issue after Upgrading the perl from 5.14.4 to 5.22.3
by Srinath
in thread Code Issue after Upgrading the perl from 5.14.4 to 5.22.3
by Srinath
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |