From: Patrick Zhou 
Subject: [NMusers] question of $INPUT: NO. OF DATA ITEMS EXCEEDS 20
Date: Fri, 23 Dec 2005 08:02:16 -0800 (PST)

Dear All,
I have a dataset that has more than 20 columns of data, when I run NONMEM, I have error message below:
Any idea how I can solve this problem? 
Have a good holiday. 

Subject: Re: [NMusers] question of $INPUT: NO. OF DATA ITEMS EXCEEDS 20
Date: Fri, 23 Dec 2005 11:24:51 -0500


1. Drop things you don't need, with this syntax in the $INPUT record
      ID TIME AMT COV1=DROP  (or you can just use DROP)
2.  Using Continuation lines, documentation below

|                                                                 |
|                            CONT DATA ITEM                       |
|                                                                 |

MEANING: Continuation (CONT) data item for PREDPP
CONTEXT: $INPUT record and NONMEM data set

$INPUT ... CONT ...

CONT labels PREDPP's continuation (CONT) data item.  The  continuation
data  item  is  optional.   The  CONT  data item allows a PREDPP event
record to span several data records.  It is useful when more  than  20
data  items are needed to describe a single event.  When the CONT data
item is not defined on the $INPUT record, every event record  consists
of a single data record.

Values are:

0    This is the last or only data record of the event record.

1    This and the succeeding record are both members of the same event
     record.  MDV must be 1.

PREDPP ignores records having CONT=1, except to pass them  to  the  PK
and  ERROR  routines  as part of the complete event record.  Values of
PREDPP data items such as EVID, AMT, etc., are significant only on the
final record of each event record, i.e., on records having CONT=0.

With NM-TRAN abbreviated code, values on data  records  having  CONT=1
are  not available for use as right-hand quantities, i.e., abbreviated
code cannot reference the values in data records other than  the  last
of  each event record.  (It would be possible to reference such values
using verbatim code, however).  When NM-TRAN performs time translation
or  ii  conversion (see date, time, ii), it does so only for the event
records having CONT=0.

REFERENCES: Guide VI, section II (p. 5), V.A (p. 55), V.I (p. 62)
REFERENCES: Guide IV, section V.B (p. 61), V.C.5 (p. 70)


3.  If these don't work, you can, with a little effort, read in data from an external file.
If #s 1 and 2 don't work, I can share some code with you to do it.

Mark Sale M.D.
Global Director, Research Modeling and Simulation