Finding stream job signons - Hewlett Packard

This is a discussion on Finding stream job signons - Hewlett Packard ; Does anyone know of a command, or commands, I could use to find all stream jobs on our HP3000 system? I want to search the jobs to find all signons that are used in stream jobs. I'm using the MPEX ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Finding stream job signons

  1. Finding stream job signons

    Does anyone know of a command, or commands, I could use to find all
    stream jobs on our HP3000 system? I want to search the jobs to find all
    signons that are used in stream jobs.

    I'm using the MPEX print command to search the system for any file that
    has "!JOB" in the first record, but it's taking a very long time (more
    than 24 hours). This is the command I'm using:

    %PURGE JLERPT.JIM
    %BUILD JLERPT.JIM;REC=-256,,F,ASCII;DEV=DISC;DISC=100000
    %FILE JLERPT=JLERPT.JIM,OLD;ACC=APPEND
    %PRINT @.@.ACCOUNT1+@.@.ACCOUNT2+@.YSTREAMS.ACCOUNT3+@.@. ACCOUNT4+&
    @.JOB.ACCOUNT5+@.JOB.ACCOUNT6(INTCODE=0 AND ISASCII AND LOCKWORD="");&
    SEARCH="!JOB" AND RECNUM=1;OUT=*JLERPT
    %EXIT

    I was using PRINT @.@.@, but it kept getting hung up on device files in
    the SYS account and files with lockwords in them, so I changed it to
    search accounts and groups where I know there are stream jobs. However,
    I'd like to really search the entire system to find any jobs outside of
    my current search criteria.

    The JLERPT file isn't filling up, because right now, there are 1814
    records in it, and the limit is 100000 records.

    We have a lot of files in our HFS directories, and I think that is
    what's contributing to the problem. Account names have been changed to
    protect the innocent.

    Thanks,

    Jim.

    ______________________________________
    James English
    Financial Systems Analyst
    TB Wood's Incorporated
    440 N. Fifth Avenue
    Chambersburg, PA 17201
    Phone: (717) 264-7161 x2119
    Fax: (717) 264-0890
    Email: jenglish@tbwoods.com
    Web: http://www.tbwoods.com
    ______________________________________
    __________________________________________________ ______

    This e-mail is intended solely for the person or entity to which it is
    addressed and may contain confidential and/or privileged information.
    Any review, dissemination, copying, printing, forwarding or other use of
    this e-mail by persons or entities other than the addressee is
    prohibited. If you have received this e-mail in error, please contact
    the sender immediately and delete the material from your computer.
    Opinions, conclusions and other information in this message that do not
    relate to the official business of Altra Industrial Motion, Inc. shall
    be understood as neither given or endorsed by it.

    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


  2. Re: Finding stream job signons

    Hi Jim & Craig
    Hey... If you have grep available - maybe a simple grep command for
    the !job pattern... Piping the grep output into another file which can
    then be used to do all sorts of wonderful technogeekie things

    Art "*nix isn't so bad afterall! Hehe" Bahrs

    Thanks,
    Art
    Art Bahrs, CISSP
    Security Engineer
    Providence Health & Services
    Arthur.Bahrs@Providence.org
    Phone: 503-216-2722


    -----Original Message-----
    From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU] On
    Behalf Of Craig Lalley
    Sent: Monday, July 14, 2008 9:28 AM
    To: HP3000-L@RAVEN.UTC.EDU
    Subject: Re: Finding stream job signons

    Jim,

    Watch out for message files. type MSG?

    -Craig



    --- On Mon, 7/14/08, English, Jim wrote:

    > From: English, Jim
    > Subject: Finding stream job signons
    > To: HP3000-L@RAVEN.UTC.EDU
    > Date: Monday, July 14, 2008, 11:10 AM
    > Does anyone know of a command, or commands, I could use to find all
    > stream jobs on our HP3000 system? I want to search the jobs to find
    > all signons that are used in stream jobs.
    >
    > I'm using the MPEX print command to search the system for any file
    > that has "!JOB" in the first record, but it's taking a very long time
    > (more than 24 hours). This is the command I'm using:
    >
    > %PURGE JLERPT.JIM
    > %BUILD JLERPT.JIM;REC=-256,,F,ASCII;DEV=DISC;DISC=100000
    > %FILE JLERPT=JLERPT.JIM,OLD;ACC=APPEND %PRINT
    > @.@.ACCOUNT1+@.@.ACCOUNT2+@.YSTREAMS.ACCOUNT3+@.@. ACCOUNT4+&
    > @.JOB.ACCOUNT5+@.JOB.ACCOUNT6(INTCODE=0 AND ISASCII AND LOCKWORD="");&


    > SEARCH="!JOB" AND RECNUM=1;OUT=*JLERPT %EXIT
    >
    > I was using PRINT @.@.@, but it kept getting hung up on device files
    > in the SYS account and files with lockwords in them, so I changed it
    > to search accounts and groups where I know there are stream jobs.
    > However, I'd like to really search the entire system to find any jobs
    > outside of my current search criteria.
    >
    > The JLERPT file isn't filling up, because right now, there are 1814
    > records in it, and the limit is 100000 records.
    >
    > We have a lot of files in our HFS directories, and I think that is
    > what's contributing to the problem. Account names have been changed to


    > protect the innocent.
    >
    > Thanks,
    >
    > Jim.
    >
    > ______________________________________
    > James English
    > Financial Systems Analyst
    > TB Wood's Incorporated
    > 440 N. Fifth Avenue
    > Chambersburg, PA 17201
    > Phone: (717) 264-7161 x2119
    > Fax: (717) 264-0890
    > Email: jenglish@tbwoods.com
    > Web: http://www.tbwoods.com
    > ______________________________________
    > __________________________________________________ ______
    >
    > This e-mail is intended solely for the person or entity to which it is


    > addressed and may contain confidential and/or privileged information.
    > Any review, dissemination, copying, printing, forwarding or other use
    > of this e-mail by persons or entities other than the addressee is
    > prohibited. If you have received this e-mail in error, please contact
    > the sender immediately and delete the material from your computer.
    > Opinions, conclusions and other information in this message that do
    > not relate to the official business of Altra Industrial Motion, Inc.
    > shall be understood as neither given or endorsed by it.
    >
    > * To join/leave the list, search archives, change list settings, *
    > * etc., please visit
    > http://raven.utc.edu/archives/hp3000-l.html *


    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


    DISCLAIMER:
    This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.

    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


  3. Re: Finding stream job signons

    English, Jim wrote:
    > Does anyone know of a command, or commands, I could use to find all
    > stream jobs on our HP3000 system? I want to search the jobs to find all
    > signons that are used in stream jobs.
    >
    >
    >

    Jim,

    I would use (ISMSG=false, and EOF < some number)

    Your process is probably hung on a messages file, similar to a 'tail -f'
    waiting for I/O to complete.

    --
    Michael Anderson,
    J3k Solutions
    Sr.Systems Programmer/Analyst
    832.515.3868

    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


  4. Re: Finding stream job signons

    you might want to give the following script a try. it's a 'smart' grep. it
    uses grep under the covers; uses hfs or mpe name syntax; knows how to skip
    un-grep-able files; designed to be run from the colon prompt.

    enjoy - d
    -----------------------
    parm file_set="", search_string="", entry_point="main"
    if "!entry_point" = "main"
    if "!file_set" = "?"
    echo
    echo ![basename(hpfile)] [file set],[search string]
    echo This command uses grep to search a fileset for all occurances
    echo of a given string
    echo [file set] may be expressed in traditional mpe or posix
    echo notation
    echo [search string] what is being searched for. Capitalization
    echo is not important.
    echo
    else
    file allfiles;disc=50000;temp
    if finfo("*allfiles","exists")
    purge allfiles,temp
    endif
    errclear
    continue
    listfile !file_set,6 >*allfiles
    if hpcierr = 0
    !hpfile not_needed, "!search_string", print < allfiles
    else
    echo
    echo ERROR: listfile,6 failed for !file_set
    echo CIError: !hpcierr,!hpcierrmsg
    echo
    endif
    reset allfiles
    purge allfiles,temp
    deletevar _g_@
    endif
    else
    setvar _g_allfiles_eof finfo("*allfiles","eof")
    while setvar(_g_allfiles_eof,_g_allfiles_eof-1) >= 0
    input _g_file_name
    echo ==========================
    echo !_g_file_name
    echo --------------------------
    errclear
    setvar _g_grep_ok true
    if pos("SYMLINK",(finfo(_g_file_name,"filetype"))) > 0
    echo ... is a symbolic link, skipping grep
    setvar _g_grep_ok false
    elseif pos("DIR",(finfo(_g_file_name,"filetype"))) > 0
    echo ... is a directory, skipping grep
    setvar _g_grep_ok false
    elseif pos("MSG",setvar(_g_fopts,finfo(_g_file_name,"fmtfopt"))) > 0
    echo ... is a msg file, skipping grep
    setvar _g_grep_ok false
    elseif pos("BINARY",_g_fopts) > 0
    echo ... is a binary file, skipping grep
    setvar _g_grep_ok false
    elseif pos("ASCII",_g_fopts) = 0
    echo ... is not an ASCII file, skipping grep (!_g_fopts)
    setvar _g_grep_ok false
    endif
    if _g_grep_ok
    grep.hpbin.sys "-i '!search_string'" < !_g_file_name
    endif
    endwhile
    endif

    ---
    Donna Hofmeister
    Allegro Consultants, Inc.
    408-252-2330


    > -----Original Message-----
    > From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU] On
    > Behalf Of Michael
    > Sent: Monday, July 14, 2008 10:25 AM
    > To: HP3000-L@RAVEN.UTC.EDU
    > Subject: Re: [HP3000-L] Finding stream job signons
    >
    > English, Jim wrote:
    > > Does anyone know of a command, or commands, I could use to find all
    > > stream jobs on our HP3000 system? I want to search the jobs to find

    > all
    > > signons that are used in stream jobs.
    > >
    > >
    > >

    > Jim,
    >
    > I would use (ISMSG=false, and EOF < some number)
    >
    > Your process is probably hung on a messages file, similar to a 'tail -
    > f'
    > waiting for I/O to complete.
    >
    > --
    > Michael Anderson,
    > J3k Solutions
    > Sr.Systems Programmer/Analyst
    > 832.515.3868
    >
    > * To join/leave the list, search archives, change list settings, *
    > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


  5. Re: Finding stream job signons

    Jim,

    Not exactly sure what end point you're trying to reach, a few other things to consider:

    1) Don't forget that !JOB is NOT the only way to start a job.

    #JOB is valid with "STREAM jobf,#"

    (:HELP STREAM ALL)

    2) Also around here we have lots of jobs which build other jobs

    !echo #JOB xxx.xxxx > *x

    so searching just the first record of a file might not catch "all" jobs. . ..

    Jim H.

    -----Original Message-----
    From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU] On Behalf Of Bahrs, Art
    Sent: Monday, July 14, 2008 9:50 AM
    To: HP3000-L@RAVEN.UTC.EDU
    Subject: Re: [HP3000-L] Finding stream job signons

    Hi Jim & Craig
    Hey... If you have grep available - maybe a simple grep command for
    the !job pattern... Piping the grep output into another file which can
    then be used to do all sorts of wonderful technogeekie things

    Art "*nix isn't so bad afterall! Hehe" Bahrs

    Thanks,
    Art
    Art Bahrs, CISSP
    Security Engineer
    Providence Health & Services
    Arthur.Bahrs@Providence.org
    Phone: 503-216-2722


    -----Original Message-----
    From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU] On
    Behalf Of Craig Lalley
    Sent: Monday, July 14, 2008 9:28 AM
    To: HP3000-L@RAVEN.UTC.EDU
    Subject: Re: Finding stream job signons

    Jim,

    Watch out for message files. type MSG?

    -Craig



    --- On Mon, 7/14/08, English, Jim wrote:

    > From: English, Jim
    > Subject: Finding stream job signons
    > To: HP3000-L@RAVEN.UTC.EDU
    > Date: Monday, July 14, 2008, 11:10 AM
    > Does anyone know of a command, or commands, I could use to find all
    > stream jobs on our HP3000 system? I want to search the jobs to find
    > all signons that are used in stream jobs.
    >
    > I'm using the MPEX print command to search the system for any file
    > that has "!JOB" in the first record, but it's taking a very long time
    > (more than 24 hours). This is the command I'm using:
    >
    > %PURGE JLERPT.JIM
    > %BUILD JLERPT.JIM;REC=-256,,F,ASCII;DEV=DISC;DISC=100000
    > %FILE JLERPT=JLERPT.JIM,OLD;ACC=APPEND %PRINT
    > @.@.ACCOUNT1+@.@.ACCOUNT2+@.YSTREAMS.ACCOUNT3+@.@. ACCOUNT4+&
    > @.JOB.ACCOUNT5+@.JOB.ACCOUNT6(INTCODE=0 AND ISASCII AND LOCKWORD="");&


    > SEARCH="!JOB" AND RECNUM=1;OUT=*JLERPT %EXIT
    >
    > I was using PRINT @.@.@, but it kept getting hung up on device files
    > in the SYS account and files with lockwords in them, so I changed it
    > to search accounts and groups where I know there are stream jobs.
    > However, I'd like to really search the entire system to find any jobs
    > outside of my current search criteria.
    >
    > The JLERPT file isn't filling up, because right now, there are 1814
    > records in it, and the limit is 100000 records.
    >
    > We have a lot of files in our HFS directories, and I think that is
    > what's contributing to the problem. Account names have been changed to


    > protect the innocent.
    >
    > Thanks,
    >
    > Jim.
    >
    > ______________________________________
    > James English
    > Financial Systems Analyst
    > TB Wood's Incorporated
    > 440 N. Fifth Avenue
    > Chambersburg, PA 17201
    > Phone: (717) 264-7161 x2119
    > Fax: (717) 264-0890
    > Email: jenglish@tbwoods.com
    > Web: http://www.tbwoods.com
    > ______________________________________
    > __________________________________________________ ______
    >
    > This e-mail is intended solely for the person or entity to which it is


    > addressed and may contain confidential and/or privileged information.
    > Any review, dissemination, copying, printing, forwarding or other use
    > of this e-mail by persons or entities other than the addressee is
    > prohibited. If you have received this e-mail in error, please contact
    > the sender immediately and delete the material from your computer.
    > Opinions, conclusions and other information in this message that do
    > not relate to the official business of Altra Industrial Motion, Inc.
    > shall be understood as neither given or endorsed by it.
    >
    > * To join/leave the list, search archives, change list settings, *
    > * etc., please visit
    > http://raven.utc.edu/archives/hp3000-l.html *


    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


    DISCLAIMER:
    This message is intended for the sole use of the addressee, and may containinformation that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this messagein error, please immediately advise the sender by reply email and delete this message.

    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


  6. Re: Finding stream job signons

    Don't forget the use of variables containing "JOB".

    Regards, Olav.

    Hawkins, Jim (ESS TCEandQ) wrote:

    >Jim,
    >
    >Not exactly sure what end point you're trying to reach, a few other things to consider:
    >
    >1) Don't forget that !JOB is NOT the only way to start a job.
    >
    >#JOB is valid with "STREAM jobf,#"
    >
    >(:HELP STREAM ALL)
    >
    >2) Also around here we have lots of jobs which build other jobs
    >
    >!echo #JOB xxx.xxxx > *x
    >
    >so searching just the first record of a file might not catch "all" jobs. . .
    >
    >Jim H.
    >
    >-----Original Message-----
    >From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU] On Behalf Of Bahrs, Art
    >Sent: Monday, July 14, 2008 9:50 AM
    >To: HP3000-L@RAVEN.UTC.EDU
    >Subject: Re: [HP3000-L] Finding stream job signons
    >
    >Hi Jim & Craig
    > Hey... If you have grep available - maybe a simple grep command for
    >the !job pattern... Piping the grep output into another file which can
    >then be used to do all sorts of wonderful technogeekie things
    >
    >Art "*nix isn't so bad afterall! Hehe" Bahrs
    >
    >Thanks,
    >Art
    >Art Bahrs, CISSP
    >Security Engineer
    >Providence Health & Services
    >Arthur.Bahrs@Providence.org
    >Phone: 503-216-2722
    >
    >
    >-----Original Message-----
    >From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU] On
    >Behalf Of Craig Lalley
    >Sent: Monday, July 14, 2008 9:28 AM
    >To: HP3000-L@RAVEN.UTC.EDU
    >Subject: Re: Finding stream job signons
    >
    >Jim,
    >
    >Watch out for message files. type MSG?
    >
    >-Craig
    >
    >
    >
    >--- On Mon, 7/14/08, English, Jim wrote:
    >
    >
    >
    >>From: English, Jim
    >>Subject: Finding stream job signons
    >>To: HP3000-L@RAVEN.UTC.EDU
    >>Date: Monday, July 14, 2008, 11:10 AM
    >>Does anyone know of a command, or commands, I could use to find all
    >>stream jobs on our HP3000 system? I want to search the jobs to find
    >>all signons that are used in stream jobs.
    >>
    >>I'm using the MPEX print command to search the system for any file
    >>that has "!JOB" in the first record, but it's taking a very long time
    >>(more than 24 hours). This is the command I'm using:
    >>
    >>%PURGE JLERPT.JIM
    >>%BUILD JLERPT.JIM;REC=-256,,F,ASCII;DEV=DISC;DISC=100000
    >>%FILE JLERPT=JLERPT.JIM,OLD;ACC=APPEND %PRINT
    >>@.@.ACCOUNT1+@.@.ACCOUNT2+@.YSTREAMS.ACCOUNT3+@.@. ACCOUNT4+&
    >>@.JOB.ACCOUNT5+@.JOB.ACCOUNT6(INTCODE=0 AND ISASCII AND LOCKWORD="");&
    >>
    >>

    >
    >
    >
    >>SEARCH="!JOB" AND RECNUM=1;OUT=*JLERPT %EXIT
    >>
    >>I was using PRINT @.@.@, but it kept getting hung up on device files
    >>in the SYS account and files with lockwords in them, so I changed it
    >>to search accounts and groups where I know there are stream jobs.
    >>However, I'd like to really search the entire system to find any jobs
    >>outside of my current search criteria.
    >>
    >>The JLERPT file isn't filling up, because right now, there are 1814
    >>records in it, and the limit is 100000 records.
    >>
    >>We have a lot of files in our HFS directories, and I think that is
    >>what's contributing to the problem. Account names have been changed to
    >>
    >>

    >
    >
    >
    >>protect the innocent.
    >>
    >>Thanks,
    >>
    >>Jim.
    >>
    >>______________________________________
    >>James English
    >>Financial Systems Analyst
    >>TB Wood's Incorporated
    >>440 N. Fifth Avenue
    >>Chambersburg, PA 17201
    >>Phone: (717) 264-7161 x2119
    >>Fax: (717) 264-0890
    >>Email: jenglish@tbwoods.com
    >>Web: http://www.tbwoods.com
    >>______________________________________
    >>__________________________________________________ ______
    >>
    >>This e-mail is intended solely for the person or entity to which it is
    >>
    >>

    >
    >
    >
    >>addressed and may contain confidential and/or privileged information.
    >>Any review, dissemination, copying, printing, forwarding or other use
    >>of this e-mail by persons or entities other than the addressee is
    >>prohibited. If you have received this e-mail in error, please contact
    >>the sender immediately and delete the material from your computer.
    >>Opinions, conclusions and other information in this message that do
    >>not relate to the official business of Altra Industrial Motion, Inc.
    >>shall be understood as neither given or endorsed by it.
    >>
    >>* To join/leave the list, search archives, change list settings, *
    >>* etc., please visit
    >>http://raven.utc.edu/archives/hp3000-l.html *
    >>
    >>

    >
    >* To join/leave the list, search archives, change list settings, *
    >* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
    >
    >
    >DISCLAIMER:
    >This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.
    >
    >* To join/leave the list, search archives, change list settings, *
    >* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
    >
    >* To join/leave the list, search archives, change list settings, *
    >* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
    >
    >
    >


    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


  7. Re: Finding stream job signons

    We have used both Jim's tricks, except that in our case it is command files,
    not jobs, that use "echo" to build jobs. We don't have UDCs doing it, but
    that should be possible too.

    Have you considered turning it around and tracking the ids of jobs that
    actually log on ? There's a big hole with jobs / logons that aren't used
    often, unless you track for a LONG time, but otherwise it should be easy.

    I suspect there is someing in the system logs, but if there isn't, you can
    roll your own. In a system logon UDC, insert lines like:
    if not hpinteractive
    echo !hpjobname, !hpuser, !hpaccount >> somefile
    endif
    If it matters, you could also track "hpstreamedby", date & time, etc.

    Then have something read that file and count whatever you need.
    At our site, "not hpinteractive" = "is a job". I think a creative person
    could find ways for that not to be true, but I suspect most sites don't play
    those tricks.

    ----- Original Message -----
    From: "Hawkins, Jim (ESS TCEandQ)"
    To:
    Sent: Monday, July 14, 2008 11:11
    Subject: Re: [HP3000-L] Finding stream job signons


    Jim,

    Not exactly sure what end point you're trying to reach, a few other things to
    consider:

    1) Don't forget that !JOB is NOT the only way to start a job.

    #JOB is valid with "STREAM jobf,#"

    (:HELP STREAM ALL)

    2) Also around here we have lots of jobs which build other jobs

    !echo #JOB xxx.xxxx > *x

    so searching just the first record of a file might not catch "all" jobs. . ..

    Jim H.

    -----Original Message-----
    From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU] On Behalf Of
    Bahrs, Art
    Sent: Monday, July 14, 2008 9:50 AM
    To: HP3000-L@RAVEN.UTC.EDU
    Subject: Re: [HP3000-L] Finding stream job signons

    Hi Jim & Craig
    Hey... If you have grep available - maybe a simple grep command for
    the !job pattern... Piping the grep output into another file which can
    then be used to do all sorts of wonderful technogeekie things

    Art "*nix isn't so bad afterall! Hehe" Bahrs

    Thanks,
    Art
    Art Bahrs, CISSP
    Security Engineer
    Providence Health & Services
    Arthur.Bahrs@Providence.org
    Phone: 503-216-2722


    -----Original Message-----
    From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU] On
    Behalf Of Craig Lalley
    Sent: Monday, July 14, 2008 9:28 AM
    To: HP3000-L@RAVEN.UTC.EDU
    Subject: Re: Finding stream job signons

    Jim,

    Watch out for message files. type MSG?

    -Craig



    --- On Mon, 7/14/08, English, Jim wrote:

    > From: English, Jim
    > Subject: Finding stream job signons
    > To: HP3000-L@RAVEN.UTC.EDU
    > Date: Monday, July 14, 2008, 11:10 AM
    > Does anyone know of a command, or commands, I could use to find all
    > stream jobs on our HP3000 system? I want to search the jobs to find
    > all signons that are used in stream jobs.
    >
    > I'm using the MPEX print command to search the system for any file
    > that has "!JOB" in the first record, but it's taking a very long time
    > (more than 24 hours). This is the command I'm using:
    >
    > %PURGE JLERPT.JIM
    > %BUILD JLERPT.JIM;REC=-256,,F,ASCII;DEV=DISC;DISC=100000
    > %FILE JLERPT=JLERPT.JIM,OLD;ACC=APPEND %PRINT
    > @.@.ACCOUNT1+@.@.ACCOUNT2+@.YSTREAMS.ACCOUNT3+@.@. ACCOUNT4+&
    > @.JOB.ACCOUNT5+@.JOB.ACCOUNT6(INTCODE=0 AND ISASCII AND LOCKWORD="");&


    > SEARCH="!JOB" AND RECNUM=1;OUT=*JLERPT %EXIT
    >
    > I was using PRINT @.@.@, but it kept getting hung up on device files
    > in the SYS account and files with lockwords in them, so I changed it
    > to search accounts and groups where I know there are stream jobs.
    > However, I'd like to really search the entire system to find any jobs
    > outside of my current search criteria.
    >
    > The JLERPT file isn't filling up, because right now, there are 1814
    > records in it, and the limit is 100000 records.
    >
    > We have a lot of files in our HFS directories, and I think that is
    > what's contributing to the problem. Account names have been changed to


    > protect the innocent.
    >
    > Thanks,
    >
    > Jim.
    >
    > ______________________________________
    > James English
    > Financial Systems Analyst
    > TB Wood's Incorporated
    > 440 N. Fifth Avenue
    > Chambersburg, PA 17201
    > Phone: (717) 264-7161 x2119
    > Fax: (717) 264-0890
    > Email: jenglish@tbwoods.com
    > Web: http://www.tbwoods.com
    > ______________________________________
    > __________________________________________________ ______
    >
    > This e-mail is intended solely for the person or entity to which it is


    > addressed and may contain confidential and/or privileged information.
    > Any review, dissemination, copying, printing, forwarding or other use
    > of this e-mail by persons or entities other than the addressee is
    > prohibited. If you have received this e-mail in error, please contact
    > the sender immediately and delete the material from your computer.
    > Opinions, conclusions and other information in this message that do
    > not relate to the official business of Altra Industrial Motion, Inc.
    > shall be understood as neither given or endorsed by it.
    >
    > * To join/leave the list, search archives, change list settings, *
    > * etc., please visit
    > http://raven.utc.edu/archives/hp3000-l.html *


    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


    DISCLAIMER:
    This message is intended for the sole use of the addressee, and may contain
    information that is privileged, confidential and exempt from disclosure under
    applicable law. If you are not the addressee you are hereby notified that you
    may not use, copy, disclose, or distribute to anyone the message or any
    information contained in the message. If you have received this message in
    error, please immediately advise the sender by reply email and delete this
    message.

    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

    * To join/leave the list, search archives, change list settings, *
    * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


+ Reply to Thread