Identifying the slot number from CreateRexxHostPort

3 posts / 0 new
Last post
davec555
davec555's picture
Offline
Last seen: 1 year 10 months ago
Joined: 2023-01-11 01:14
Identifying the slot number from CreateRexxHostPort

Hello,
I am creating a unique ARexx port with the CreateRexxHostPort() call which will append a value of 1-9 after the basename followed by a period.
This works fine, but I can't for the life of me work out how to find what that particular slot number is.

Can anyone help me on determining the actual ARexx portname created after using the CreateRexxHostPort() call?

Thanks
Dave

msteed
msteed's picture
Offline
Last seen: 4 months 6 days ago
Joined: 2022-01-18 08:34
Re: Identifying the slot number from CreateRexxHostPort

@Dave

You can examine the port that was created to learn its name:

RexxHostPort->mp_Node.ln_Name

is a pointer to a string containing the port's name.

davec555
davec555's picture
Offline
Last seen: 1 year 10 months ago
Joined: 2023-01-11 01:14
Re: Identifying the slot number from CreateRexxHostPort

Excellent. Thank you.

Log in or register to post comments