Capturing Output of Jobload in Preview Mode

 3 Replies
 0 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
Saurabh
Veteran Member
Posts: 94
Veteran Member

    I am trying to import job definations (appx 22,000) across environment and running the command

     jobload -l alljobs.out 

    to check for any errors.

    Does anyone know how i can capture the output produced by the same into a file, so that i am able to search for the errors later or just get the errors onto a separate output file

    This is in LID (LSF9.0,SP4) on Win 2003

    Thanks in Addvance

    John Henley
    Posts: 3353
      You should be able to use the UNIX redirection, like this:
      jobload -l alljobs.out > jobload.log
      Thanks for using the LawsonGuru.com forums!
      John
      Greg Moeller
      Veteran Member
      Posts: 1498
      Veteran Member
        You may have to do it like the following if you want the errors too guys:
        jobload -l alljobs.out > jobload.log 2>&1
        Saurabh
        Veteran Member
        Posts: 94
        Veteran Member
          Hi Greg, John

          Thanks for the Tips.
          The command which seems to have given the result was

          jobload -l alljobs.out 2> jobload.log

          Saurabh