Operating System - HP-UX
1855505 Members
9899 Online
104111 Solutions
New Discussion

Re: PRM Max chars for APPLICATION records

 
SOLVED
Go to solution
NHL
Frequent Advisor

PRM Max chars for APPLICATION records

Hi,

Does anyone know if/what the max nr of characters can be in the path and alternate name for appl records please ?

I've gone thru the docs and can only find max chars for GROUP records.

Many thanks,
Nick .
6 REPLIES 6
NHL
Frequent Advisor

Re: PRM Max chars for APPLICATION records

Oh by the way Im using PRM C03.02
Jonathan Fears
Trusted Contributor

Re: PRM Max chars for APPLICATION records

Hello Nick. The max path length (as set by UNIX) is 1024. For alternate names they can be 512 each. The total line max is 2048. Hope this helps. - Jonathan
Peter Godron
Honored Contributor

Re: PRM Max chars for APPLICATION records

Nick,
1024 characters.

Found it at:

http://docs.hp.com/en/B8733-90017/aphs02.html

Error 248
"Message Pathname too long.

Cause The pathname entered as an argument to -f exceeds 1024 characters.

Action Verify path is correct.
"
NHL
Frequent Advisor

Re: PRM Max chars for APPLICATION records

Thankyou both, however Im not sure were on the same wavelength ;)

The -f option 'prmconfig -f /my/prmconf' is not the issue.

Say I have an application record such as:

/usr/opt/dlc/v91e/jre/bin/../bin/PA_RISC2.0/native_threads/java[1]::::WEB myaltname[2]

I need to know the max nr of characters I can use in the path to the job[1], and the max chars I can have in the alternate name[2].

I dont think the 1024 is what Im after. When I edit prmconf via SMH it only lets me enter 64 chars max for the path to the application..

Thanks again,
Nick .
Peter Godron
Honored Contributor
Solution

Re: PRM Max chars for APPLICATION records

Nick,
I think I found it!

http://h20338.www2.hp.com/hpux11i/cache/317822-0-0-0-121.html

"WARNINGS The following fields have character limitations as noted:

+ PRM group name can be no longer than 49 characters.

+ Some configured application processes will not be moved to
their assigned groups by prmconfig if their full path is
greater than 63 characters and their filename is greater than
13 characters and/or the alternate name is greater than 63
characters (see prmconfig(1)).

Results are unpredictable if these fields are longer than the limits
specified above.
"
NHL
Frequent Advisor

Re: PRM Max chars for APPLICATION records

How on earth have did I miss that in the man page !!

Thanks very much for your help there Peter :)

Nick .