Kbase 18935: Progress Batch Limitations In UNIX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/03/2003 |
|
Solution ID: 18935
FIX:
When running a batch process in UNIX through Progress, some UNIX commands will not work due to certain limitations.
For example:
"input through more +<line number> <filename>"
This will not go to the correct line number in batch mode.
To get around this call a UNIX shell script containing the first line entry.
#!/bin/ksh.
Example shell script:
#!/bin/ksh
more +<line number> <filename> > /tmp/more.txt
This will output from the selected line number of the selected file and redirect it to /tmp/more.txt.
Your batch Progress program can therefore call this script with "unix silent <shell script>" and then "input from /tmp/more.txt" to get the required results.