HP3000-L Archives

March 2002, Week 1

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:
Tom Emerson <[log in to unmask]>
Reply To:
Tom Emerson <[log in to unmask]>
Date:
Thu, 7 Mar 2002 08:51:38 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
> -----Original Message-----
> From: Peter Herpich

> need a procedure or udc to do the following.
>
> when the stream-command is executed from the CI or thru HPCICOMMAND
> I want to make a copy of the streamd file.

I'm trying to envision what "problem" this solves -- after all, streaming a
file doesn't modify or destroy the file, so why make a copy?  What do you do
if you stream the file multiple times, which "copy" do you keep? [or do you
plan on serializing the copies?]

I'll amend my earlier statement somewhat: stream doesn't modify or purge the
source file, however I can think of three instances where this doesn't
matter:
   1) the job itself modifies or purges the file; if so, the job should make
a copy before modifying/purging the file
   2) you don't have STREAMX or any similar product, so you are manually
making changes to the jobs on a frequent basis (for example, a program that
prompts for selection criteria might include a date, so every day the source
job needs to be updated...)  Again, the "policy" should be to back-up the
file before editing -- this might be where you want a special UDC...
   3) you're submitting temporary files, which will "go away" when you log
off.  Again, if you are doing this interactively, why not :SAVE a copy of
the file by hand?  Programmatically (calling HPCICOMMAND) you should FCLOSE
your output file with options to make it a permanent file, or write two
files...

Making a copy when you stream a job sounds like a band-aid solution to a
much larger problem, however placing the band-aid here doesn't cure the
problem, it only stops the bleeding for a while...

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

ATOM RSS1 RSS2