We have jobs which run under different user accounts. When setting ulimits in /etc/auto.profile it will be in effect for all the jobs running via AUTOSYS regardless of the user account. We would like to run these jobs with the user's specified ulimit rather than a single ulimit entry defined in the /etc/auto.profile for all users and jobs.
You may add the following lines in /etc/auto.profile:
case $ID in
ulimit -n 2000
ulimit -n 4000