FileName property: ProcessRequest class
Description
This property contains the name of a file to be used with file dependant processing, that is, processes which are initiated only after a file becomes available.
For a file dependent process, the FileName property is set to override the file name specified in the process definition. You must specify the complete file path and extension for the file, as a string.
This property works with the RunLocation property. If you don't specify a run location, any value assigned to this property is ignored.
This property is read/write.
Example
The following code example initiates QE_AETESTPRG once the c:\import\ediData.dat file becomes available on PSNT server.
Local ProcessRequest &rqst1;
&rqst1 = CreateProcessRequest();
&rqst1.RunControlId = "2";
&rqst1.ProcessType = "Application Engine";
&rqst1.ProcessName = "QE_AETESTPRG";
&rqst1.RunLocation = "PSNT";
&rqst1.FileName="c:\import\ediData.dat";
&rqst1.Schedule();