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


Fixed-length character data

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

Sample Fortran usage PL/I subroutine
X = '1234567890'
CALL F2PPFLC(X, Y)
1  'VALUE RETURNED TO FORTRAN: ', Y
END
F2PPFLC: PROC (X, Y) OPTIONS(FORTRAN);
  DCL X       CHARACTER(10);
  DCL Y       CHARACTER(10);
  PUT SKIP
      LIST('PL/I ARG VALUE:', X);
  Y = X;
  RETURN;
END F2PPFLC;
 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014