- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- F$GETJPI using BYTLM item returns BYTCNT
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
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
10-06-2004 09:23 PM
10-06-2004 09:23 PM
$ PID = F$GETJPI("","PID")
$ BYTLM = F$GETJPI("''PID'","BYTLM")
However, it appears to return the BYTCNT.
All other items (such as FILLM, ENQLM etc) work as expected.
Is this a bug, or am I missing something?!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 09:36 PM
10-06-2004 09:36 PM
Re: F$GETJPI using BYTLM item returns BYTCNT
$ BYTLM = F$GETJPI("''PID'","BYTLM")
$ BYTCNT = F$GETJPI("''PID'","BYTCNT")
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 09:40 PM
10-06-2004 09:40 PM
Re: F$GETJPI using BYTLM item returns BYTCNT
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 09:43 PM
10-06-2004 09:43 PM
Re: F$GETJPI using BYTLM item returns BYTCNT
This is AFAIK a long standing bug in not only F$GETJPI, but also in SYS$GETJPI.
The original value of BYTLM is stored in the JIB (Job Information Block) at offset JIB$L_ORG_BYTLM. The information stored at offset JIB$L_BYTLM is AFAIK always the same as that stored at offset JIB$L_BYTCNT, and that's where F$GETJPI gets the info.
Hope this helps,
Kris.
PS: There is no item code for F$GETJPI to retrieve the original value of BYTLM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 09:43 PM
10-06-2004 09:43 PM
Re: F$GETJPI using BYTLM item returns BYTCNT
It's a bit irritating though - what I was hoping to do is use GETJPI in a DCL script to save certain UAF values before temporarily increasing them for a software install, then resetting them back to the original values. Guess I'll have to use a less "elegant" method involving output files!
Cheers,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 09:53 PM
10-06-2004 09:53 PM
Re: F$GETJPI using BYTLM item returns BYTCNT
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 10:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 10:34 PM
10-06-2004 10:34 PM
Re: F$GETJPI using BYTLM item returns BYTCNT
$ pipe (wr sys$output "read sysdef" ; wr sys$output "set proc/id=76A9" ; wr sys$output "for jib" ) | ana/sys | sea sys$pipe JIB$L_OR
G_BYTLM | (read sys$pipe tmp1 ; def/job tmp1 &tmp1)
then translate the logical and extract, here, with my Vms version
$ wr sys$output f$extract(52,20,f$trn("tmp1"))
00061A80
$ bytorg = f$extract(52,20,f$trn("tmp1"))
but this can change a little depending on the Vms versions, patches applied...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 10:46 PM
10-06-2004 10:46 PM
Re: F$GETJPI using BYTLM item returns BYTCNT
A little more complex than a single GETJPI call, but it gets the job done!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 10:50 PM
10-06-2004 10:50 PM