Thanks Pratosh,

Actually, I was looking for an answer more oriented to how to keep aliases
while doing jsh but it looks like more a limitation problem from bourne
shell.

At this respect, jBase apparently does not have scope to override that.

Luis
On Fri, Jun 11, 2010 at 1:25 PM, Pratosh <[email protected]> wrote:

> Hi,
> I usually do this using VOC
>
> Create a VOC entry named lm
>
> *********************
> JED VOC lm
>
> PA
> SH ls -lrt | more
> *********************
>
> and save it. Then you can use it as u said u want to :)
>
> On Jun 11, 11:32 am, "Luis Lascano" <[email protected]> wrote:
> > All,
> >
> > Is there a way to configure jBase so aliases defined on .profile can be
> > inherited and used when in jshell environment?
> >
> > For instance if I have defined on .profile:
> >
> > alias lm="ls -lt | more"
> >
> > Then after getting into unix, I execute jsh, I get the following:
> >
> > /t24app/t24uat/bnk/bnk.run: jsh
> >
> > jsh t24uat ~ -->lm
> >
> > [3] Unable to execute program 'lm'
> >
> > jsh t24uat ~ -->
> >
> > [
> >
> > jsh t24uat ~ -->jdiag
> >
> >         jdiag - jBASE diagnostic '$Revision: 1.12 $'
> >
> > System Information
> >
> > ==================
> >
> > System                      : AIX t24ofex 2.5 00CB2FEB4C00
> >
> > OS Release                  : 5.2.0.0
> >
> > UNIX User                   : t24uat (uid 213, euid 213)
> >
> > Tty name                    : /dev/pts/3
> >
> > Time                        : Fri Jun 11 12:28:40 2010
> >
> > Environment
> >
> > ===========
> >
> > JBCRELEASEDIR               : '/usr/jbc'
> >
> > JBCGLOBALDIR                : '/usr/jbc'
> >
> > HOME                        : '/t24app/t24uat/bnk/bnk.run'
> >
> > JEDIFILEPATH                : '/t24app/t24uat/bnk/bnk.run'
> >
> > JEDIFILENAME_MD             : 'VOC'
> >
> > JEDIFILENAME_SYSTEM         : '//t24app/t24uat/bnk/bnk.run/SYSTEM'
> >
> > JBCBASETMP                  : '/t24app/t24uat/bnk/bnk.run/workfile/tmp_3'
> >
> > JBCNOINTERNAL               : Not Set
> >
> > JEDI_NOSHMEM                : Not Set
> >
> > RELEASE Information         : Major 4.0 , Minor 7.2 , Patch 0385
> >
> > Thank you!
> >
> > Luis Lascano
> > Skype: llascano
>
> --
>  Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>



-- 
Luis Lascano
skype: llascano
Phone1: 1 305 767 2756
Phone2: 593 2 2433963

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to