2008 Oct 21 3:22 PM
Hi,
We have the SAP server and a File server connected by NFS mount. We have the ABAP program which is reading the files on the File server. Sometimes the NFS mount goes down and the ABAP program hangs on the open dataset command for more then 6 to 7 hrs and we need to cancel the program in SM66 or in some other transaction. Is there a function module or any other method to see if the NFS mount is available before the OPEN DATASET statement.
Thanks For your help
Ram
Hi,
We have the SAP server and a File server connected by NFS mount. We have the ABAP program which is reading the files on the File server. Sometimes the NFS mount goes down and the ABAP program hangs on the open dataset command for more then 6 to 7 hrs and we need to cancel the program in SM66 or in some other transaction. Is there a function module or any other method to see if the NFS mount is available before the OPEN DATASET statement.
Thanks For your help
Ram
2008 Oct 21 3:36 PM
Hi Ram,
Check your DO statements used for READ DATASET. It might be going into an infinite loop.
Regards,
Adi
2008 Oct 21 3:53 PM
Hi Adi,
Thanks for your immediate reply. If i run it in debug mode the program is on the OPEN DATASET statement and it does not move from that statement so it is not a problem with DO loop on the READ.
Ram
2008 Oct 21 4:03 PM
You could create an external command in SM69 which checked the status of the NFS mount. Execute the command with function SXPG_COMMAND_EXECUTE and read the output table to determine if the NFS moutn is functioning correctly.
Regards,
Steve.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |