Hi all
I wrote a .bat file that lists all jobs of all projects in files, then launches dsexport job after job. But if one of the jobs is opened, it waits for the answer Abort/Skip/Skip All/Retry.
Is there any way to automatically skip a locked job (for ex. a job opened in Designer) when executing dsexport in a loop ?
dsexport.exe
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
IF the default answer is Y (which I'm unable to ascertain for dsexport at the moment), then you can use this trick to deliver an infinite number of "Enter" presses. Redirect stdin from NUL (which is /dev/null if you're on UNIX).
Code: Select all
dsexport options < .\NUL
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.