Unless there have been some enhancements to icl, I don’t think that you can 
call a subroutine with parameters.
Your validation program can either parse the parameter from the command line, 
or retrieve it with PROCREAD. It can use PROCWRITE to return its result, or use 
STOP, and then the proc can check IF E

> On May 20, 2021, at 12:01, Joyce White <[email protected]> wrote:
> 
> Hi, I have a proc (jcl program) that needs a "date check". I'd like to write 
> a jBASE function for the date check, then call it from within the proc, 
> having it return to the proc after it checks the date. Is this doable? If so, 
> what syntax would I use to call the jBASE function (LIFE.LEFT.b) from within 
> the proc?
> 
> I'm trying the line below and it's not working. My function is LIFE.LEFT, and 
> it takes a parameter that the user enters in the previous line (%3).
> 
> IF [LIFE.LEFT(%3)] = 1 GO 999
> 
> Thanks,
> Joyce
> 
> -- 
> -- 
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>  
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/jBASE?hl=en 
> <http://groups.google.com/group/jBASE?hl=en>
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jbase/54d2fd8d-7d18-4e88-804d-a447e01a689dn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jbase/54d2fd8d-7d18-4e88-804d-a447e01a689dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/5C119D49-01C0-4C21-AD18-EC65FB6B9C3D%40aol.com.

Reply via email to