O'Reilly logo

APIs at Work, Second Edition by Ron Hawkins, Doug Pence, Bruce Vining

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Retrieving User Information

The “change” exit point enables many types of applications related to user profiles. The only profile-related piece of information passed, however, is the user profile name. Certainly, more needs to be known. To determine the current attributes of the user profile, whether it’s before the change with format CHGP0200 or after the change with format CHGP0100, we can retrieve information related to the user profile. The parameter description for the Retrieve User Information API, QSYRUSRI, is shown in Table 12.4.

Table 12.4. The Retrieve User Information API (QSYRUSRI)
ParameterDescriptionTypeSize
1Receiver VariableOutputChar(*)
2Receiver Variable LengthInputBinary(4)
3Format NameInputChar(8)
4User Profile NameInputChar(10) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required