I have written a simple script that works, but I have to use the command sh <script> to run it. Just typing in the script name does not work.
Is there a way of executing the script by just typing the script name?
Thanks.
I have setup a very, very basic vbscript to print several word documents.
The script is as follows - (I have left out most of the documents, as the lines are all the same, with only the dicument name being different)
Set objWord = CreateObject("Word.Application")
objWord.Visible = True
Set...
I am inputting a date in a specific column (A)
When entering the date I need to check the weekday. If the weekday is a weekend (Saturday or Sunday), I then manually change the date to the previous Friday's date.
I can visually check the weekday, as the cell format is set as dddd, dd/mm/yy...
Does anybody know of, or has anybody created a basic Access database, for the tracking and vaulting of tapes?
On a daily basis, we store tapes offsite, via a collection / delivery using Iron Mountain. Some tapes are sent offsite, grouped in a box and other go offsite individually.
I would like...
I have created a basic CL program MSGBRKS (all of 3 lines!)
I can run the program in the usual way -
CALL OPERATIONS/MSGBRKS , which works fine.
I have made sure the the OPERATIONS library is in my library list. So I can just type in CALL MSGBRKS to run the program
Is there any way of just...
Does anybody know if there are any on-line or free I-Series (AS/400) training resources for IBM i-series certification?
The company I work for will not pay for any training and I can't afford to sen d myself on a course.
If anybody knows of any useful websites or resources, it would be most...
Hi,
Is there an equivalent of grep on an AS400?
I would like to search a file looking for a particular pattern or string in the same way you can use grep with Unix.
I know grep is available on AS400 but only in IFS directories. My file wont be in an IFS directory.
Thanks.
Does anybody know what formula I should use in a Microsft Word Table cell, so that a day and date are calculated automatically?
Currently I open a document type in or change the day and date, save the document and then print it.
What I wish to do is just print the document with the day and...
Is there anyway an AS400 can execute a command(s) auromatically whan you logon?
It should be simple, but I don't know how.
I would like to login under my own userid and automatically run the command CHGMSGQ QSYSOPR *BREAK and also CHGMSGQ RAOPS *BREAK.
I am new to AS400. I know thiscould be...
Thank you, this is pretty much what I want to do..
It works fine. Ideally what I am trying to achieve is having for example -
Job1time in cell (A1) and Job2time in cell (B1)
Calculating B1-A1 and putting the result in cell B1.
I have tried this and Excel is going on about iterations and the...
I have a spreadsheet to complete daily.
I have to enter batch job run timings. I have to calculate run times mentally i.e job1 starts at 11:30 and job2 starts at 11:32, so the run time I would enter = 2 minutes (00:02 is what I would actually enter)
Is there any way of entering the start time...
I am writing a very basic VBscript.
It simply asks for input of a date, sets a variable to the date entered (variable name is 'Date') and then runs Xcopy to copy any files changed on or after the date entered. I have managed to set the variable using an InputBox (big deal, I hear everyone...
I am a complete novice with AWK and would like to use it to extract and summarize information from a Backup Exec logfile.
I have managed the basics of extracting the raw info I want -
awk "/Job name/ { print $0 } " bex182.txt
awk "/Processed/ { print $0 } " bex182.txt
awk "/Job completion...
My Internet connection keeps freezing between 30-60 minutes after connection. I am using a modem - dial up connection.
I can initially connect to the Internet quite happily and browse away, but after a while when I try to connect to any websites I get 'unable to connect' in my web browser. The...
I have a form that contains 7 tick boxes for days of the week Mon - Sun. The form contains information of batch jobs and what days that they run on. So a tick box is selected for aby relevant days.
I want a report to show the job name along with the days it runs according to the tick box...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.