Not sure about the AS400. But on an AIX box, I've found that a -RUN closes and reopens the output file... thus overlaying what was previously there. Is that what you are experiencing?
-Diptesh Patel
Diptesh WF 7.1.7 - AIX, MVS
April 20, 2009, 04:06 PM
Tom Flynn
This looks like MRE, so, you may need:
APP FI FOCAUDIT DISK RS6000/FOCAUDIT.dat or .ftm or .txt (APPEND
The file extention doesn't apply on AS400, that's a pc/unix thing- none of our AS400 files has an extention.
Diptesh,
This same fex works on the AIX (UNIX with the UNIX path of course). Without the -RUN after the FILEDEF I get a message saying it isn't filedef'd
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
April 21, 2009, 03:42 AM
GamP
Pat, You do need to have a a value for &AUDIT_FEX, since you write it out. But you had it commented, which may lead to unwanted results. The -RUN after the filedef is needed, but the one after the -SET's is not. The code would look like:
But, is there some error that you receive or any undesired reuslts?
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
April 21, 2009, 09:13 AM
PBrightwell
This is an online server procedure executed from our intranet interface. The &AUDIT_FEX is set in the individual program and this is -INCLUDEd. I -TYPEd my variables to be sure all had values and they are:
20090421080617 amd018a WFOCUS 400SRV
I also tried the AP FI instead of the FILEDEF with the same results. The message I am getting is somewhat meaningless it is
(FOC325) ERROR WRITING FILE NAMED: FOCAUDIT 1
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes