Computing.Net > Forums > OpenVMS > command procedure searching tape da

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

command procedure searching tape da

Reply to Message Icon

Name: openvms1
Date: May 30, 2005 at 23:42:31 Pacific
OS: OpenVMS V7. 3-2
CPU/Ram: Alpha
Comment:

Hi.
I need to create a job that runs each monday and I need to setup a command procedure that searches the tape datadase for tapes that were allocated on the previous friday.

could someone help me out.

thanks
Rob



Sponsored Link
Ads by Google

Response Number 1
Name: jfd3
Date: June 2, 2005 at 08:19:28 Pacific
Reply:

When you say "tape database" what are you referring too? SLS? Please advise.


0

Response Number 2
Name: dev_goswami
Date: June 10, 2005 at 02:46:38 Pacific
Reply:

If u know the actual device names (MKXNNN), then a small .com file can be made, which repeats for each the the tape device names.
for the .com file:
u have to start with assigning the sys$output to a file.
see the o/p in the file and check that the required information (allocated on "date","time ") is available at a required line and offset in the line.
use the $getdate to get the correct date which u want.
using the F$parse or F$search, compare with date available in the above stated field in the o/p file.

if the match is right then signal a flag, else continue to next drive.

any ways why u need to know what somebody did on "friday", any problem!!??


0

Response Number 3
Name: openvms1
Date: June 14, 2005 at 22:16:33 Pacific
Reply:

The tape database is SLS.

what happens is we allocate the tapes on friday but they get picked up the following monday and are sent to melb. and I want to schedule a job on monday to search for those tapes so I we have a list of the tapes going offsite.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


mapping drives Disk drive compatibility



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to OpenVMS Forum Home


Sponsored links

Ads by Google


Results for: command procedure searching tape da

About command Procedures in openvms www.computing.net/answers/openvms/about-command-procedures-in-openvms/570.html

Search command in Vi for VMS www.computing.net/answers/openvms/search-command-in-vi-for-vms/517.html

Command Proc to Logout a Terminal S www.computing.net/answers/openvms/command-proc-to-logout-a-terminal-s/239.html