- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Using sys$getjpiw doesn't return jpi$_tt_accpornam
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2006 08:59 AM
11-06-2006 08:59 AM
Using sys$getjpiw doesn't return jpi$_tt_accpornam
01 ws_getjpi_username.
03 ws_username pic x(12) value spaces.
03 ws_username_length pic s9(04) comp.
01 ws_getjpi_tt_accpornam.
03 ws_tt_accpornam pic x(50) value spaces.
03 ws_tt_accpornam_length pic s9(04) comp.
01 ws_getjpi_iosb pic s9(09) comp.
01 getjpi_item_list.
03 name_list.
05 name_buf_lngth pic s9(04) comp value 14.
05 name_code pic s9(04) comp
value external jpi$_username.
05 name_buf_addr pointer value
reference ws_username.
05 name_ret_lngth pointer value
reference ws_username_length.
03 accpornam_list.
05 accpornam_buf_lngth pic s9(04) comp value 50.
05 accpornam_code pic s9(04) comp
value external jpi$_tt_accpornam.
05 accpornam_buf_addr pointer value
reference ws_tt_accpornam.
05 accpornam_ret_lngth pointer value
reference ws_tt_accpornam_length.
03 name_list_terminator pic s9(09) comp value 0.
And here's the call statement:
call 'sys$getjpiw'
using
omitted
omitted
omitted
by reference getjpi_item_list
by reference ws_getjpi_iosb
omitted
omitted
giving call_status.
if not ss$_normal
(blah, blah)
Both call_status and ws_getjpi_iosb come back with a value of +1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2006 09:28 AM
11-06-2006 09:28 AM
Re: Using sys$getjpiw doesn't return jpi$_tt_accpornam
Where are you (what device and what connection) are you logging in from? Same for the user who is having the problem.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2006 09:51 AM
11-06-2006 09:51 AM
Re: Using sys$getjpiw doesn't return jpi$_tt_accpornam
I've tried SET HOST and TELNET for the user account:
1) Running the program from a SET HOST process works.
2) Running the program from a TELNET process works.
3) Doing a runing the program from the spawned subprocess in 1 & 2 doesn't work, even though doing a $SHOW TERMINAL shows the same info for "Remote Port Info:" as the parent process.
This program that I'm writing has to be run from the users' login command procedure, so I'll have to run it from a spawned subprocess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2006 09:54 AM
11-06-2006 09:54 AM
Re: Using sys$getjpiw doesn't return jpi$_tt_accpornam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2006 10:08 AM
11-06-2006 10:08 AM
Re: Using sys$getjpiw doesn't return jpi$_tt_accpornam
Thanks for responses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2006 10:51 AM
11-06-2006 10:51 AM