Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. brent01

    Help - Running a script without using 'sh' command.

    I've done an ls -l and the permissions are -rwxrwxrwx so I think it is executable.
  2. brent01

    Help - Running a script without using 'sh' command.

    Thanks Mike. I tried that, but I still get the same error - 'bash: restart: command not found' or 'restart: not found' Any other ideas?
  3. brent01

    Help - Running a script without using 'sh' command.

    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.
  4. brent01

    Overiding MS Word Margins Yes / No Popup

    Thanks for the suggestion PHV. I tried this but I still get the same problem.
  5. brent01

    Overiding MS Word Margins Yes / No Popup

    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...
  6. brent01

    Changing a 'Weekend' Date to the Previous 'Friday' date

    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...
  7. brent01

    Tape Tracking / Location Access Database

    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...
  8. brent01

    Calling a CL Program (or not)!

    Thanks gpzcrasher! Err.. any idea how I can create a command please? Thanks
  9. brent01

    Calling a CL Program (or not)!

    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...
  10. brent01

    I Series (AS/400) Certification - Free Training sources

    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...
  11. brent01

    AS400 - Searching For Strings (Patterns) In a File?

    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.
  12. brent01

    Day and Date Formula in Word Table

    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...
  13. brent01

    AS400 Executing a Command(s) at Login

    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...
  14. brent01

    Calculating Time Difference Between Cells

    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...
  15. brent01

    Calculating Time Difference Between Cells

    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...
  16. brent01

    WshShell.Run - Quotes and more quotes..help!?

    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...
  17. brent01

    Extracting and summarizing info from a log file.

    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...
  18. brent01

    Internet Connection Freezing.

    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...
  19. brent01

    Tick Box Query.

    Thanks guys your advice was very helpful. Both worked a treat. Much obliged!
  20. brent01

    Tick Box Query.

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

Part and Inventory Search

Back
Top