|
You mean like this?
d api_program PR extpgm('API_NAME')
d objname 10 Const
d objlibr 10 Const
* Added at V5R2
d objtype 10 Const Options(*NoPass)
* Added at V5R3
d errstr LikeDS(errorStruct)
d Options(*VarSize: *NoPass)
* Added at i6.1
D extension 20 Const Options(*NoPass)
D currentVRM S 6
// If currentVRM = VxRyMz
Select ;
When currentVRM>= CON_I6_1 ;
api_program(parm1: parm2: type: errStr: ext) ;
When currentVRM>= CON_V5R3 ;
api_program(parm1: parm2: type: errStr) ;
When currentVRM>= CON_V5R2 ;
api_program(parm1: parm2: type) ;
Other ;
api_program(parm1: parm2) ;
EndSL ;
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.