ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

qshell

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • qshell

    Hi

    Can anybody shed some light on wt is QSHELL and wt for it is used n it wud be gr8 if someone cud provide some material on this

    regards
    John

  • #2
    Re: qshell

    John EDAJ830ID gives you the ability to run UNIX commands from the as400.

    I do own a book but I cant seem to read thru it

    What is QShell?

    "The green screen command line" for managing Java
    applications and resources on the iSeries IFS system.
    Yes, completely different in terms of commands BUT
    conceptually very much like the standard QCMD program
    (your 5250 command line) you all know and love (?) for
    running CL commands and setting up your runtime environment
    for your applications. Like command entry, QShell provides
    a scrollable terminal window to run utility commands and
    view results.

    QShell goes farther than QCMD. Where QCMD runs only CL commands
    interactively or programs, QShell is a full application shell
    that allows you to do the following: run QShell utilities
    (like CL commands), have multiple threads of execution,
    set the environment dynamically and create powerful, dynamic
    scripts that integrate Java beans and are easily reusable
    for many applications.

    The QShell application can read input from many sources,
    interactively interpret the commands read, run the commands,
    use both Java and OS/400 resources and output results to many
    sources. Input and output to QShell can come from the file system
    or the pipes as well as the command line. This is a BIG plus
    over QCMD. You don't have to "key" everything in. When you
    create anything useful you can save it easily to a text
    file anywhere. It even lets you create expressions with
    substitution variables and evaluation so your scripts
    can be VERY dynamic.

    Not only can you create shell scripts, but you can also
    extend the QShell environment with your own utilities.

    To start QShell from a 5250 command line, enter STRQSH or QSH.
    To exit QShell, press F3 or type exit.

    At startup, QShell runs an initial set of commands in order from the following sources:
    * from the file /etc/profile if it exists.
    * from the file .profile in the user's home directory if it exists.
    * from the file specified by the expansion of the ENV variable if it exists.

    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: qshell

      John,

      I have used qshell commands via rpgle (qcmdexc) to read through directories on the IFS.

      example: ls -lT /directory/file.txt > /directory/file.txt

      I know there are other ways, I know this came in handy once.
      I am /Free! Are You?

      Comment


      • #4
        Re: qshell

        curious....are there any sample shell scripts anybody has used before that can be weaved with ile utilities...

        Comment


        • #5
          Re: qshell

          Hey send me your snail mail address Ill mail you the book...but you have to mail back when your done. deal?
          All my answers were extracted from the "Big Dummy's Guide to the As400"
          and I take no responsibility for any of them.

          www.code400.com

          Comment


          • #6
            Re: qshell

            i'd be interested in the book too....i sent u a pvt msg with my email id..

            Comment


            • #7
              Re: qshell

              I was talking about you.....send me your info and address via message
              Ill try to mail it out this weekend.
              (Marty its only one very light book)




              jamie
              All my answers were extracted from the "Big Dummy's Guide to the As400"
              and I take no responsibility for any of them.

              www.code400.com

              Comment


              • #8
                Re: qshell

                i had a jump start on qshell looking at this web page ...thought i'll share this for those who are looking like me as well...






                thought i could really use some tips mentioned there....

                if there is an e-book on qshell or something of that sort, please share it with us people..


                thanks

                -sg

                Comment

                Working...
                X