Subject: | |
From: | |
Reply To: | |
Date: | Wed, 29 May 2002 14:41:24 -0500 |
Content-Type: | multipart/mixed |
Parts/Attachments: |
|
|
If you have MPEX/Sec3000, you can use STREAMX to insert dates in your job
streams.
Ron Horner
HP3000 Systems Administrator
JCPenney Logistics
[log in to unmask]
(414) 259-2274
AIM: hornerrr
----- Original Message -----
From: "Donna Rivett" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, May 29, 2002 2:29 PM
Subject: Automate End of the Month Report
> Hi All -
>
> I'm trying to automate a report out of our production software (Ecometry)
> that we run 23 times at the end of the month for each reason code. We are
> on MPE 6.5 PP2..
>
> I'm trying to creat a command file that would run these but I'm not sure
how
> I can default the date range each month
> so that it reflects the current whole month for each report in the job
> card.. In other words, if the command file is generated at the end of
the
> month (May) after Dayclose, I would like the job in the command file to
> reflect the current month like this: 2002050120020531. Is there any
command
> that would specify the first through the last day of the month that you
are
> generating the report.
>
> This is the how the LISTFTEMP file looks:
>
>
> !JOB PRODRETU,JOBS.SGAII / ;PRI=DS;INPRI=01;OUTCLASS=WHLASER2,01
>
> !SETVAR SGAINFO 'MGR.SGAII '
>
> !FILE PRODRETU;DEV=WHLASER2,,01
>
> !FILE PRNTFILE=*PRODRETU
>
> !RUN RTNPRINT.CODE2.!SG2VER;LIB=G;PARM=1
>
> PRODRETURN
>
> WHLASER2
>
> ORDER NO
>
>
>
> 2002050120020531
>
> 0101 Y
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> (24/31) Continue?
>
>
>
>
>
>
>
>
>
>
>
>
>
> !EOJ
>
>
>
>
>
> Any ideas or help is greatly appreciated. Thanks very much in advance!!
>
>
>
> Donna Rivett
>
> HP/Ecometry Admin
>
> Northern Safety Company
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If the reader of this message is not the intended recipient,
you are hereby notified that you have received this message in error and
that any review, dissemination, distribution or copying of this message
including any attachments is strictly prohibited. If you received this
in error, please contact the sender and delete the material from any
computer.
|
|
|