View previous topic :: View next topic
|
Author |
Message |
Rajkumar_n
New User
Joined: 07 Dec 2006 Posts: 51 Location: Bloomington
|
|
|
|
Hi,
I am transferring a file to PGP encryption server through FTP for encrypting file.
I am facing many issues where the encryption process starts before the FTP process is totally completed and downline system will issue an error message saying file was not processed 'trailer record is missing'.
The encryption process is triggered by a script written in UNIX.
My question is " Is there anything that I can do to make the encryption process to start after FTP is fully completed?.
Thanks and Regards,
Rajkumar Nerella |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
This doesn't really sound like a mainframe-related topic. But, it might be helpful to know, is that server managed within your enterprise, or does it belong outside to some other party where you have no control over it. |
|
Back to top |
|
|
Rajkumar_n
New User
Joined: 07 Dec 2006 Posts: 51 Location: Bloomington
|
|
|
|
Yes,
It is maintained within the enterprice but may be maintained different vendor.
It should not be problem with mainfram FTP process, but I suspect the problem should be with the unix script that triggers the process
This is should not be a mainframes issue, but if any one had faced this type of issue then they can share with me.
Thanks a lot for your fast response.
Thanks and Regards,
Rajkumar Nerella |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
My question is " Is there anything that I can do to make the encryption process to start after FTP is fully completed?. |
Yes -- get the person or group that wrote the script doing the encryption to change it. There is nothing you can do on the mainframe side to keep it from starting at whatever the trigger point is.
One idea that could help is to have a second step in your job to use remote execution (REXEC) to trigger the script on the server once the FTP step is complete. That requires some set up work on the mainframe and server, but it would provide a solution for you. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
My thinking was that, if you have control over that server, your job scheduling system should be tasked with assuring that your FTP job completes before the encryption script is allowed to start. Standard predecessor/successor stuff. Just a thought. |
|
Back to top |
|
|
Rajkumar_n
New User
Joined: 07 Dec 2006 Posts: 51 Location: Bloomington
|
|
|
|
Thanks a lot to all for sharing your opinions.
I am planing to add one more step in JCL to FTP a dummy file to the destination server.
I will change the Unix shell script to run based on the trigger file instead of the original FTP file. It is schedule change for Unix script and one more additional step for me to tansfer dummy file.
Thanks and Regards,
Rajkumar Nerella |
|
Back to top |
|
|
|