z/OS Language Environment Writing Interlanguage Communication Applications
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


16-bit signed binary integer

z/OS Language Environment Writing Interlanguage Communication Applications
SA38-0684-00

Sample Fortran usage PL/I function
INTEGER*2 X, Y, F2PP16I
X = 5
Y = F2PP16I(X)
PRINT *,
1 'VALUE RETURNED TO FORTRAN:', Y
END
F2PP16I: PROC (X) OPTIONS(FORTRAN)
      RETURNS(FIXED BIN(15));
  DCL X       FIXED BIN(15);
  PUT SKIP
      LIST('PL/I ARG VALUE:', X);
  RETURN (X);
END F2PP16I;
 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014