[SOLVED]WF Maintain -- How many Arguments Permitted in a CALL command?
I'm modifying existing code and adding an argument to a call that should just not be an issue. But it is. As best I can tell I've hit some internal limit on arguments. Here's the call:
Call appl_private_ins
From Incoming_Action
passDrgSpecialistID
passDrgSpecialistNm
passInsSpecialistID
passInsSpecialistNm
passInsEligStartDt
passInsEligEndDt
passDrgEligStartDt
passDrgEligEndDt
StkInsInfoEdit.COMMENTS_TXT
StkApplicantEdit
stkPassKey
Current_Userid
StkIndFlg
New_Rec_Flg
i
into
StkIndFlg;
That i at the end of the argument list is the 16th. When the routine being called opens, even if I do absolutely nothing with that argument, nothing seems to work properly.
The question -- is there a limit on the number of arguments you can call a Maintain Form with?This message has been edited. Last edited by: <Emily McAllister>,
February 16, 2017, 01:18 PM
Maintain Wizard
John We do not document a limit to the number of variables. However, there could be a limit to the number of characters (ie 32K) that we can pass. What is the format of the last variable? What release are you in? Are any of the variables very long?
Mark
February 16, 2017, 01:20 PM
John_Edwards
This is 7.7.03M.
I added an A3. So either that's not the issue or I'm the unluckiest SOB to ever program.
I can't imagine we're at 32K with this thing. The new form opens, it just doesn't fill. The code that is supposed to execute on startup apparently isn't running.
February 16, 2017, 01:25 PM
Maintain Wizard
John Would you like me to dial in? I have a few minutes now. I can take a look. Mark
February 16, 2017, 01:38 PM
John_Edwards
Sure.
I've figured out that Case Top is running, and I can see one stack fill. The rest of the data appears to balk loading when the extra argument is in place.
February 16, 2017, 01:43 PM
Maintain Wizard
Go to Remote Assist on the techsupport site and select me from the list. Then give me a number to call or call me at 917-339-5352.
Mark Derwin
February 16, 2017, 01:46 PM
Deana
I cannot find anything regarding the number of from and to arguments in a CALL. However, I know there is a limit of 15 files in a MAINTAIN command, so it would seem that 15 is the limit for CALLS as well. Can you create a stack which has all the arguments you need to pass?
CALL appl_private_ins FROM StkCall INTO StkIndFlg
I have not run into any limitations with the number of fields in a stack being passed via CALL.
Deana
WebFOCUS 7.6.8 and 7.7.03; Windows Server 2003 R2 and Windows Server 2008 R2, respectively; Development environments - Windows Server 2003 R2 and Windows 7 Professional, respectively; excel, html, pdf