HP3000-L Archives

February 2003, Week 4

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:
Larry Barnes <[log in to unmask]>
Reply To:
Larry Barnes <[log in to unmask]>
Date:
Mon, 24 Feb 2003 13:47:48 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (58 lines)
I just built a simple job stream that did, what I think you were asking, and it worked okay.

here it is:

!job test,user.account
!purge datefile
!build datefile;rec=-18,,f,ascii;disc=1
!file df=datefile,old;acc=append
!echo !hpdatetime >*df
!input datef < datefile
!echo !datef
!# extracting only the 'yyyymmdd' from the string
!setvar mydate str(datef,1,8)
!showvar mydate
!eof

-----Original Message-----
From: Edward Givens [mailto:[log in to unmask]]
Sent: Monday, February 24, 2003 1:06 PM
To: [log in to unmask]
Subject: HP CI SCRIPTING QUESTION + SUBSCRIPTION QUESTION


Hello, I was told this is the best place to go for answers so I would =
like
to know how to subscribe to the user group so I can make future =
inquiries
and possibly help others as well.



Here is the real question:

I am trying to pass a variable from a ci script to a job. The data is a =
date
e.g. 20030101 for yyyymmdd. I am using the input command to get the =
variable
then saving the variables to a PERMANENT file.=20

I then within the job want to pull the data from the files back into
variables so I can use the inputted data (multiple times at that).=20

It was easy to pass the variable into the file but it seems difficult to
reverse the process.



Thanks for your response in advance

Edward Givens
Lineco (Insurance)

* 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 *

ATOM RSS1 RSS2