Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

BOOL

LceLansaCall

(int

iSession,



 char far *

strProcess,



 char far *

strFunction,



 char far *

strProgram,



 char far *

strExchangeList )

Parameters

iSession

The session identifier as returned by LceGetSessionId.

strProcess

The name of the LANSA process.

strFunction

The name of the LANSA function.


or

strProgram

The name of the IBM i program.

strExchangeList

A list of field names to be passed to and from the program. Refer to Notes.

...

FALSE is returned if an error occurs.

Notes

Portability Considerations

The format which uses strProgram is only supported if your host system is an IBM i. An error will be returned by the host if you make a call with strProgram to any other platform.

When calling a program on the IBM i, the exchange list may only contain fields of type A, P, and S. If exchanging numeric fields, the maximum length is 30 and the maximum decimals is 9.

...