File misread problems

Top Up Down  A A

Some file formatting problems are reported with error messages. Others simply mislead Winsteps.

 

General rules:

(a) All control and data files must be in "DOS TEXT" or ASCII format.

(b) To check if your control specifications have been correctly interpreted, look at Table 0, at the end of your "output" file.

(c) To check if your data have been correctly interpreted, produce an RFILE= file and look at the response strings, particularly for column alignment.

 


 

Common Problems and their Diagnoses

 

1) Message: VARIABLE UNKNOWN OR VALUE INVALID:

 

Diagnosis: A line in your control file is not of the format "variable = value". This may be because your control file is in not in DOS Text or ASCII format. Return to your text editor and save your control file as a DOS Text file. Then rerun.

 

2A) Message: PROBLEM: BLANK LINE NEEDED AT END OF: filename

 

Diagnosis: The last line of file "filename" does not end with a line-feed (LF) code (so does not meet strict Windows specifications). This can be fixed by adding a blank line to the end of that file. You can use Notepad to do this by editing the file from the Winsteps .

 

2B) Message:

Use last entry in File menu to add final blank line to:

filename

Then press enter key, or enter a different file name:

 

Diagnosis: The last line of file "filename" does not end with a line-feed (LF) code (so does not meet strict Windows specifications). This can be fixed by adding a blank line to the end of that file. You can use Notepad to do this by access the file from the Winsteps File menu. It will probably be the last file listed there. You could also copy the file, add a blank last line, and then type in the file name in Winsteps.

 

3) Blank characters disappear, causing misalignment of data or control instructions.

 

Diagnosis:

(a) These "blank" characters could be ASCII "13" (CR) codes. Some word processors treat them as blanks, some as end-of-line codes, and some ignore them, making them "disappear". Winsteps ignores them. WordPad reports them as squares. Replace them with blanks.

(b) These "blank" characters could be ASCII "9" (TAB) codes. Word processors expand these into several blanks.

Winsteps treats them as one blank. For consistency, globally replace Tab characters with blanks.

 

4) Data or control lines disappear.

 

Diagnosis:

(a) Word processors automatically wrap long lines across several lines. Winsteps does not. Make sure that each line ends with an "end of line" code.

(b) Some word processors use ASCII "13" (CR) as an end-of-line code. Winsteps ignores these codes. Use ASCII "10" (LF) as the end-of-line code. Press the Alt key, while typing 10 on the numeric keypad to generate this code.

 

5) Data or control lines are split across several lines.

 

Diagnosis: You may have edited your control or data files with a word processor that wrapped one line across several lines. When you saved this file in DOS text format, each line was then saved as several lines. Re-edit the file, reduce the point size, maximize the page size (e.g., landscape) until each line only occupies one line. Then save the file again in DOS text or ASCII format.

 

6) Message: BEYOND CAPACITY

Diagnosis: Your data file contains more person records than can be analyzed in one run. Some records have been bypassed.

 

Data sets that exceed program capacity to analyze in one run offer opportunities, as well as challenges. There are several strategies.

I. Analyze a sample of the data. Use this to produce anchor values. Then, using the anchor values, run all the data one section at a time.

II. Analyze a sample of the data. Analyze another sample. Compare results to identify instability and compute reasonable anchor values. Remember that small random changes in item calibrations have negligible effect on person measures.

 

To select a sample of your data, use the FORMAT= statement. See the example on pseudo-random person selection on page .

 

There are versions of Winsteps that support more persons. Contact www.winsteps.com for details.

 

7) File read errors

Reading Control Variables ..

Input in process..

Opening: c:\input-file.txt

PROBLEM: Access denied (5): for file: c:\input-file.txt in mode I

 

Your data file may be "read only" and missing an end-of-line indicator on the last data record. Copying and paste your data file as a data file with ordinary file access privileges. Then reference this file in your DATA= specification.