Here’s a thought. Can you store your parameter in one of the Proc Buffers and 
then instead of a Function, write a program that performs a PROCREAD to get the 
buffer contents, and puts the result back into the Buffer?

 

From: [email protected] <[email protected]> On Behalf Of Joyce White
Sent: Thursday, May 20, 2021 12:01 PM
To: jBASE <[email protected]>
Subject: Call jBASE Function from Within a Proc?

 

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] <mailto:[email protected]> 
To unsubscribe, send email to [email protected] 
<mailto:[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] 
<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/0f3101d74d91%24e13543c0%24a39fcb40%24%40comcast.net.

Reply via email to