Question
Deleting a file from the iSeries IFS using LegaSuite (MX) scripting
We have a process on our iSeries that retrieves a customer bill image as a PDF document and stores the file on the iSeries in the IFS.
The URL of the iSeries and the folder containing the PDF documents is controlled by values in the LWM:PDFIP HTTP ://xx.xxx.x.xxx/LEGASUITE and
PDFIFSLOC PDF_FOLDER. We open the PDF using the following command from our script: URLOpen(gPdfUrl) where gPdfUrl = PDFIP + PDFIFSLOC + file.PDF.
(NOTE: the name of the PDF file (file.PDF) is passed to the iSeries from our GUI script). Question: Is there a way to issue a command from the GUI script
to delete this file from the IFS? Thank you in advance for any suggestions! Jim
The URL of the iSeries and the folder containing the PDF documents is controlled by values in the LWM:PDFIP HTTP ://xx.xxx.x.xxx/LEGASUITE and
PDFIFSLOC PDF_FOLDER. We open the PDF using the following command from our script: URLOpen(gPdfUrl) where gPdfUrl = PDFIP + PDFIFSLOC + file.PDF.
(NOTE: the name of the PDF file (file.PDF) is passed to the iSeries from our GUI script). Question: Is there a way to issue a command from the GUI script
to delete this file from the IFS? Thank you in advance for any suggestions! Jim
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.