Subprogram Call Format


 

The first release of Sunaccess supported Micro Focus COBOL for DOS. The format for COBOL interface is the standard COBOL subprogram interface:

 

 

CALL subprogram USING

 

 

BY REFERENCE parameter

 

 

BY VALUE parameter

 

 

RETURNING return-parameter

 

From COBOL's perspective, the C functions in Sunaccess are subprograms. The Micro Focus COBOL convention for calling a C function is to precede the function name with c_ (e.g., the C function SA_AamPrep becomes the COBOL subprogram c_SA_AamPrep).

 



Sunaccess Reference Function Call Format Interface Data Types