Why doesn a script created with a Windows editor execute correctly on the HP3000 ?
The problem you have encountered is the traditional cross-platform issue of text file line termination. There is no common standard for the end-of-line indicator : line termination is represented differently on different platforms. Many modern file transfer programs will convert text file line terminators automatically, but some will not. Warehouse uses the standard library fgets function to read a script, and that function is adapted to a specific platform. On MPE/iX, fgets uses the record size. On Unix, fgets looks for a Line Feed; on Windows, it looks for Carriage Return/Line Feed ; and on the Mac OS, Carriage Return. In this case, when you moved the text file from your PC to the HP3000, the end of line indicator was not converted from a Carriage Return/Line Feed to the format recognized by MPE/iX .
Related Questions
- I created a batch script in a text editor on a Windows or Mac system, but when I submit it on an OSC system, almost every line in the script gives an error. Why is that?
- Windows Media Player 9 Series will not execute my relative URL flip script commands that I need for my presentation. What should I do?
- Why doesn a script created with a Windows editor execute correctly on the HP3000 ?