HP3000-L Archives

January 2003, Week 5

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:
James Bennett <[log in to unmask]>
Reply To:
James Bennett <[log in to unmask]>
Date:
Wed, 29 Jan 2003 12:46:54 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (64 lines)
 Doug,

The Unix shell sees the semicolon and separates the two commands into
mpe << jobfence 7

and then

queue=pyjobqueue

What you probably want is:

mpe << EOI
jobfence 7;queue=payrollque
EOI

When you use the << syntax (sometimes called a HERE document), the
shell will read the following lines until it gets to a line that has
the value of the string just after the <<.

So,

mpe << BLAHBLAHBLAH
jobfence 7;queue=payrollque
BLAHBLAHBLAH

Does the same thing.

James
SunGard Bi-Tech
http://transport.bi-tech.com

[log in to unmask] (Doug) wrote in message news:<[log in to unmask]>...
> I am a newbie to MPE.  Our vendor's application uses a MPE shell on
> hp-ux.  I want to send a command to process via a script and cron but
> am having trouble.  I am unsure if the issue is MPE or not.
>
> The vendor has a batch_job unix process that runs as a service.  You
> can modify the parameters of the batch_job by executing this from the
> unix prompt:
>
> mpe
> :jobfence 7;queue=payrollque
> :bye
>
> There are 4 job queues, one of which is a default and is called
> STANDARD.  When I try and run the command from a script it modifies
> the standard queue, not the one identified after the semi-colon.  I am
> assuming the semi-colon has a MPE meaning such as eof -or-  unix is
> reading that as a cr/lf.
>
> I have tried a couple things:
>
> mpe << jobfence 7;queue=pyjobque
>
> using various combo's of redirection << | ^M !
>
> Ideas?
>
> Thanks in advance
> Doug

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

ATOM RSS1 RSS2