HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

How to periodical zip and copy files

 
liuzq_99
Occasional Visitor

How to periodical zip and copy files

Hellow ,i want to zip and copy some log flie periodical (such as ,once a month),how to relaize use DCL?

THANKS
3 REPLIES
Karl Rohwedder
Honored Contributor

Re: How to periodical zip and copy files

You can write a DCL procedure, that does the job once and then use a CRON package to do the periodic resubmit. You find one e.g. here:

http://www.the-rohwedders.de/downloads/index.html

regards Kalle
Steven Schweda
Honored Contributor

Re: How to periodical zip and copy files

"how to submit a daily job?":

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=960315

> [...] (such as ,once a month) [...]

When, exactly?

if f$integer( f$cvtime( f$time(), , "day")) .eq. 1
then it's the first day of the month.

Many things are possible.
Hoff
Honored Contributor

Re: How to periodical zip and copy files

Hello and Welcome to the Forums.

First, you must realize how and when to use a search engine such as Google and how to use the available product documentation for OpenVMS; how to find and answer your own questions. Once you have grasped the mechanisms and terms and concepts there (and knowing the tools and terms and concepts can greatly speed your web searches, too), then you can proceed apace to tasks such as zip and periodic batch job submission.

Periodic Batch Submit:
http://64.223.189.234/node/97

Intro to zip and unzip on OpenVMS:
http://64.223.189.234/node/575

The COPY/FTP command and ftp on OpenVMS:
http://64.223.189.234/node/136

Google:
http://www.google.com/

OpenVMS documentation:
http://www.hp.com/go/openvms/doc

OpenVMS Frequently Asked Questions (FAQ):
http://64.223.189.234/node/1

And again, welcome