Where is LINE_MAX set on AIX?


 
Thread Tools Search this Thread
Operating Systems AIX Where is LINE_MAX set on AIX?
# 1  
Old 10-07-2009
Where is LINE_MAX set on AIX?

So all the research I've done shows that the reason I'm getting an error message 0403-035 The specified path name is too long is because of a LINE_MAX variable.

The issue is that no where have I actually found where this variable is set. I've done grep -i MAX /usr/lib/*.h with no success finding the variable. I'm starting to think this variable doesn't exist (AIX 5.3.0.0).

Thank you for anyone who can point me in the right direction.
# 2  
Old 10-07-2009
I am beginning to think that this variable does not exist (AIX 5.3.0.0). Please specialists fast solution

Thank you
# 3  
Old 10-08-2009
Code:
root@somehost:/usr> find . -type f -name "*.h" -exec grep -l LINE_MAX {} \;
./lpp/X11/include/X11/Xos_r.h
./lpp/X11/include/X11/Xthreads.h
./include/sys/limits.h
./include/unistd.h
root@srfihv02:/usr> oslevel -r
5300-09

I think it is no good idea to change any header files of the OS but change your commands, scripts, structure etc. instead.
# 4  
Old 10-08-2009
Please post the actual shell command which produces the error message. Such commands can usually be restructured to avoid creating a huge command line.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How do I set up a Zebra Printer on AIX?

Hi All We have a Zebra LP 2824 that we are wanting to use to print mailing labels from our AIX 7.1 server. We have around 350 printers of various types and manufactures already installed and functioning so, we don't want to install CUPS. I can get the printer to print using Line Mode but,... (3 Replies)
Discussion started by: DLooney
3 Replies

2. AIX

How to set up remote X Windows on AIX ?

Hi, I want to display a program on my local workstation, that is running on a remote AIX, and I have done the following: install an X server (Xming) on my windows machine enable X11 forwarding in Putty enable X11 forwarding for the SSH daemon restart SSH daemon text X... (9 Replies)
Discussion started by: SteAlma
9 Replies

3. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

4. AIX

file set not getting installed in aix

Hi One of the file set is not getting installed in aix. ========================================================================================= cbspsap01:/ # lppchk -v lppchk: The following filesets need to be installed or corrected to bring the system to a consistent state:... (1 Reply)
Discussion started by: newtoaixos
1 Replies

5. AIX

AIX Server - Need to set up VMWare

Hi experts, We are faced with a dilemma - we have a AIX server for educational purposes. We had some Oracle applications running on them. The management decided not to extend the warranty, so we are left with a server that we cannot upgrade immediately. I was wondering if we could set up... (2 Replies)
Discussion started by: ranj@chn
2 Replies

6. AIX

How to set up SUMA i n AIX Environment

Hi , How to set up SUMa in AIX environment. Any suggestions? Thanks, Sureeh C (3 Replies)
Discussion started by: choudarysuresh
3 Replies

7. AIX

How to set AIX server for x-window?

Hi, I register the ip address into "XMD broadcast" in xconfig of xmanager, then use Xmanager to connect to AIX server, But I can not connect to it. How to set AIX server to let it can be connected? Thanks (2 Replies)
Discussion started by: aixabc
2 Replies

8. UNIX for Dummies Questions & Answers

how to set timeout for aix?

if a user login and never shutdown or exit...how do you set an automatic shutdown or timeout if the user leave the session on for 20 minutes? thanks (3 Replies)
Discussion started by: ichiro
3 Replies

9. AIX

c set ++ for aix v3.1.3

Hey everyone... I'm new to this forum. I hope someone can help. I am desperate. I need to get my hand on IBM C Set ++ for AIX v3, part number 5765-421. I need to install this on an AIX box running AIX v4.3.3. I know it's very old and unsupported, but that's the version it has to be. I... (0 Replies)
Discussion started by: tgrossmith
0 Replies

10. UNIX for Dummies Questions & Answers

LINE_MAX for NAWK

A newbie question: May I know what is "LINE_MAX" in nawk, does this limit the maximum length of a record that nawk can process. My nawk script gave me an error : >> input record `...' too long when processing long record, and exit. How can I ignore this error and proceed to the next... (2 Replies)
Discussion started by: deaniyoer
2 Replies
Login or Register to Ask a Question