Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

dos command timeout

dos command timeout

dos command timeout

Hi All,
I'm looking for some setting where the DOS command timeout interval can be increased. Any suggestions?
I'm running overnight applications using wfmobile and one
imbedded DOS copy command is copying a file of circa 30,000
records. Focus displays a prompt asking if I want to keep waiting. This is OK when I'm here but becomes a problem for unattended operations, as a response is required to continue.
Many Thanks, Peter.

RE: dos command timeout

can you post your DOS copy command line, as its written?

RE: dos command timeout

Hi Tdigs,

This is the exact command; I tried XCOPY as well.



RE: dos command timeout


what version of the product are you using: WebFOCUS, Developers Studio, PC/Focus?

RE: dos command timeout

I'm using WebFocus 4.3.1 in W/2000.

RE: dos command timeout


The only thing I can suggest is to try using the SYSTEM subroutine, rather than a call to DOS. When you issue a DOS command, it runs in parallel to WebFocus. Since you say it's your only command, perhaps WebFocus is finished everything else, and wants to close down.

Using the SYSTEM subroutine, like this:


and control doesn't return until the command is done.

RE: dos command timeout

Hi Focwizard,

Thanks for the tip; I tried it but am still getting the
"There is no response. Do you want to keep waiting?" message. It doesn't matter now; I've decided to use FTP to send the file instead of the DOS copy command and it seems
to work fine. Put it down to experience. It's slightly academic now but in relation to the SYSTEM command (which might prove useful elsewhere), obviuosly Focus is incrementing some internal timer while it waits for DOS (or whatever system) to return control to it. Can the threshold for this setting be increased?
Thanks, Peter.

RE: dos command timeout


One last thought. No one here can find where WebFOCUS puts out the 'waiting' message? Is it possible that it comes from DOS? What happens if you create the file, and then issue the XCOPY command from DOS itself?

RE: dos command timeout

The copy command works from a DOS prompt or when run in a bat file. If you run either the copy command or the bat file from within a fex, the issue arises.
I've got a jpeg file showing the message on the screen, where it announces itself as a "Focus Message". If you send me an e-mail address, I'll forward it. Peter.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close