HP3000-L Archives

May 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Wed, 9 May 2001 12:16:10 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (72 lines)
---------------
Getting back to the original problem of changing file equations,
Maybe another way, seeing that you are using streamx probably also use MPEX
which has version of EDIT which allows changing string in a bunch of files by
using wildcards, so set up a batch file to change to required string in all
required files, it would help if all job files are in a special group. A sample
job that does this sort of thing is below.

6/NEIL.SYS AT 11:55 AM  print quizchg.job
!JOB QUIZCHG,RATES.QUIZ;OUTCLASS=6,1,1
!MPEX
EDITCHG [log in to unmask],"LIST OF VOTERS","LIST OF CEO VOTERS"
EXIT
!EOJ


Regards from
Neil Louttit
Stonnington City Council

And all opinions are mine only and nothing to do with my employer.


---------------------------------------------------------------

"VANCE,JEFF (HP-Cupertino,ex1)" wrote:

> 4. An alternative is to create an account level UDC that execute the FEQ
> script above. An advantage to this is that you don't need to change each job
> as I
> describe in step 1.  However, it is likely you will need to change each job
> once anyway, if for no other reason than to delete all of the pertinent file
> equations.

a couple of thoughts....  given jay's original description that this only
involves jobs, if he takes the route of implementing a logon udc it will be
important to test for hpjobtype (only want 'j').  more importantly though, if
this is implemented as a system-level udc, special consideration will have to be
taken for 'nonstandard' jobs.  you don't want, say a third-party software
install job to blow off (or even worse) or abort because of the added
functionality.

i'm sure jay has already realized this (bright guy that he is :-)...but
sometimes it doesn't hurt to state the obvious.          - d

--
Donna Garverick     Sr. System Programmer
925-210-6631        [log in to unmask]

"Unix _is_ user friendly.
It's just very selective about who its friends are.
And sometimes even best friends have fights."

>>>MY opinions, not Longs Drug Stores'<<<

------------------------------------------------------------------------
Hi all,

I was recently asked to make the same change to the file equations in
several jobs (in one account), and got to thinking how I might get the jobs
to read a single file that contained the file equations that are used in all
of the jobs.

We use Vesoft's Streamx. I'd like to be able to capture the last three
characters in the job's hpjobname to use in the file equation. So that, if
the job's name is JTRA810, I would have a file equation like this:

!file print1=TRA810;dev=lp

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

ATOM RSS1 RSS2