Focal Point
[SOLVED] parameters in DSTRUN

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

May 21, 2009, 07:56 PM
neerajk
[SOLVED] parameters in DSTRUN
I am passing parameters to reportcaster job using API DSTRUN .value for parameter does not get pass through .Always report run for default value ENGLAND.
What could be issues here as retrun code is always 0 and report is triggered.
Any suggestion ?

-SET &DSTRUN_RC = DSTRUN(
- 'admin',5,
- ' ',1,
- 'serv0123:8080',13,
- ' ',0,
- 'MYCARTEST',9,
- 3,
- 'admin',5,
- 'CNT=FRANCE',10,
- ' ',0,
- 'I4');
-IF &DSTRUN_RC EQ 0 THEN GOTO EXIT;
-WRITE SUBLOG &DSTRUN_RC
-EXIT

Fex File has -

-DEFAULT &CNT = 'ENGLAND'
TABLE FILE CAR
PRINT
CAR MODEL BODYTYPE COUNTRY
WHERE COUNTRY EQ '&CNT'
END


Webfocus environment verison 7.6.4
OS - WINDOWS

This message has been edited. Last edited by: Kerry,
May 22, 2009, 12:07 AM
neerajk
Solutions is -In reportcaster job, select task , goto advanced properties and then parameters list.Select the parameter which will get value from API.This works