[Info-vax] Error Messages in Basic - %BASIC-E-PARMODNOT, mode for parameter <n> of routine <procedure-name> not as declared
Jeffrey H. Coffield
jeffrey at digitalsynergyinc.com
Wed Jun 5 10:27:57 EDT 2019
The following compiles and runs for me on both Alpha and Itanium. You
must have something wrong in how you are declaring the function.
program test
external long function lib$convert_date_string
Declare Long Date_Time_Context_gl
Declare String End_of_Month_Date_gs
Declare Quad End_of_Month_Date_Time_gq
Declare Long End_of_Month_Weekday_gl
Declare Long VMS_Condition_Code_gl
End_of_Month_Date_gs = '31-may-2019 01:23:45.67'
VMS_Condition_Code_gl &
= LIB$CONVERT_DATE_STRING (End_of_Month_Date_gs, &
End_of_Month_Date_Time_gq, &
Date_Time_Context_gl )
print VMS_Condition_Code_gl
print End_of_Month_Date_Time_gq
end
On 06/05/2019 06:48 AM, Craig Dedo wrote:
> VMS_Condition_Code_gl = LIB$CONVERT_DATE_STRING ( End_of_Month_Date_gs, End_of_Month_Date_Time_gq, Date_Time_Context_gl )
More information about the Info-vax
mailing list