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
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.
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.
Summary: Hi, Please let me know what is the command that i can type in the Vi editor compiled in the VMS OS for searching for a text string. Basically i want the equivalent of the "/" command for search in Vi ...
Summary: Does anyone has a VMS command procedure log out a terminal server port? We get orphaned connections on our Xyplex Terminal Server port. TO clear the problem, we telnet to the Terminal Server and t...