Focal Point
[CLOSED] default parameter

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

December 28, 2009, 12:28 PM
ramakrk
[CLOSED] default parameter
Hi
The db2 stored procedure is created with 3 parameters.&courtcode,&date1,&date2.
Since it is a daily run ,I have to use only 2 parameters.i.e &courtcode and &date1. The 3rd parameter should be put as default, which takes &date1.How to do it in Developer studio.
thanks for the help,
ram

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


WebFOCUS 762
Windows
To be decided(All formats)
December 28, 2009, 03:11 PM
Dan Satchell
Using either the Dialogue Manager tool in the Procedure Viewer or the text editor, create a default for &DATE2:

-DEFAULTS &DATE2 = &DATE1



WebFOCUS 7.7.05
January 04, 2010, 06:28 AM
GamP
Or, just call the db2 procedure with parameters: &courtcode,&date1,&date1


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988