Regarding FTP of check file - AP155

 5 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Vijay S
Veteran Member Send Private Message
Posts: 174
Veteran Member

We are having a process via which CHECK forms generated by AP155 are FTP'ed to the third party Windows server, where they are processed to get checks  printed via C-Series (a third party Vendor). We don't have any documentation for this process and there is no one who have any knowledge how actually file gets FTP'ed to C-Series Server. Something recently broke the process and the file doesn't  get FTP'ed to C-Series Server. When I requested the user how actually file gets FTP'ed, they told me once they run AP155 program and  send the "check" to printer, It actually gets FTP'ed and also when I dia a grep found  a file created under $LAWDIR/ prod9/work/cseries/>. I checked the process flows, Unix Scripts,searched under tokendef  but couldn't find anything related to the process, did a grep and find on the actual file name without any luck. Is there anything which I am missing which I need to figure out. 

EricS
Veteran Member Send Private Message
Posts: 80
Veteran Member
The way I did this on a UNIX box was to set up a demon that kicked off every 5 minutes looking for the check file, archived it, and Ftp'd it. I believe I chose to do this in Lawson crontab, it could also been in root crontab. Not sure that will help, but maybe?
TBonney
Veteran Member Send Private Message
Posts: 281
Veteran Member
Perhaps there exists a simple Windows scheduled task on the server, that runs a batch that is doing the ftp?
Woozy
Veteran Member Send Private Message
Posts: 709
Veteran Member
Hi vjS - The other responses are worth checking out - particularly the Windows scheduled task. It's also possible that there is (or was) a non-Lawson tool that either watches that folder for a file and grabs it, or a scheduled process that grabs the file. Our company has an Infrastructure group that handles internal file transfers, and an EDI group that typically handles file transfers to external vendors. We have an SFTP tool that is used by both groups for this purpose.

ProcessFlow could be used for this, but it seems like overkill for just moving a file.
Kelly Meade
J. R. Simplot Company
Boise, ID
troelofs
Advanced Member Send Private Message
Posts: 19
Advanced Member
Have you checked printdef to look at the definition of the printer? It's possible to define a printer that points at a script which copies a file to a share on a print server.
Vijay S
Veteran Member Send Private Message
Posts: 174
Veteran Member
Thanks All, was able to find that check files gets copied to a New file under /work/cseries/ via prtdef (printer definition)....... Will check if something runs in Windows server that grabs that file. SO far couldn't get any luck on Unix server ......