Focal Point
[SOLVED] FOC275 error while using DSTRUN Command is Webfocus 7.6.9

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/851107545

October 11, 2010, 03:07 AM
Shyam
[SOLVED] FOC275 error while using DSTRUN Command is Webfocus 7.6.9
Hi,
I am trying to schedule a report using the DSTRUN command. While running the report from Webfocus Studio, FOC275 error is displayed. All the parameters are provided properly to the DSTRUN command. Still getting the same issue.

FILEDEF SUBLOG DISK sublog.ftm
-RUN
-SET &SUBERR = DSTRUN(
- '*******',7,
- '*******',7,
- '*********',9,
- 'S15dtv4oej19',12,
- '',0,
- 3,
- '*******',7,'',0,
- '*******/*******',15,0,
- 'I4');
-IF &SUBERR EQ 0 GOTO EXIT;
-INCLUDE DSTRUNER
-WRITE SUBLOG &SUBERR
-EXIT

This message has been edited. Last edited by: Kerry,


WebFocus 7.1.4
Unix
Excel, HTML, PDF
October 11, 2010, 07:07 AM
Alan B
FOC275 is incorrect number of arguments. I would guess you are not using OS/390, so therefore the last '0' argument is not required; that is only for OS/390.


Alan.
WF 7.705/8.007
October 18, 2010, 04:49 AM
Shyam
Hi Alan,
Thanks for your suggestion. It's working fine now after removing the 0.


WebFocus 7.1.4
Unix
Excel, HTML, PDF