NONMEM Users Network Archive

Hosted by Cognigen

RE: 20 variable limit in $INPUT

From: Andrew Hooker <andrew.hooker>
Date: Mon, 16 Mar 2009 16:36:20 +0100

Hi All,

PsN does this automatically when using the '-wrap_data' option of the
'execute' command. See
for more details.

Best regards,


Andrew Hooker, Ph.D.
Associate Professor of Pharmacometrics
Div. of Pharmacokinetics and Drug Therapy
Dept. of Pharmaceutical Biosciences
Uppsala University
Box 591, 751 24, Uppsala, Sweden
Phone: +46 18 471 4355
Mobile: +46 701 679 048

-----Original Message-----
From: owner-nmusers
Behalf Of Nick Holford
Sent: Monday, March 16, 2009 15:48
To: nmusers
Subject: Re: [NMusers] 20 variable limit in $INPUT

Look in your NONMEM html\cont.htm.
The CONT data item lets you specify additional input records which can
be continued to allow more than 20 data items.

Here is a description in more detail.

I found this by searching with Google for "NONMEM cont data item".

Much better than trying to use the NONMEM archive search which responded

No matches were found for 'cont and data and (item or items)'

> I am looking for a solution to get around the limit of 20 input
> variables in nonmem.
> The message you get with more than 20 variables in $INPUT is this:
> STOP 4 statement executed
> I did not find anything in the archives or on the Web. I recall having
> successfully done that in nonmem V, and I think it was about changing
> the value of 20 to another value in a few files.
> My original naive idea was that this was just a single change to the
> SIZES file in nm VI but that seems to not be the case.
> To keep the discussion focused, I am not looking for workarounds like
> solutions with concatenated values and an indicator variable.
> For a change I am trying to get the software to adapt to the user's
> needs instead of the usual opposite situation.
> Thanks for any pointers.
> Andreas
> -----
> Andreas Krause, PhD
> Lead Scientist Modeling and Simulation
> Actelion Pharmaceuticals Ltd
> Gewerbestrasse 16
> CH-4123 Allschwil
> Switzerland
> The information of this email and in any file transmitted with it is
strictly confidential and may be legally privileged.
> It is intended solely for the addressee. If you are not the intended
recipient, any copying, distribution or any other use of this email is
prohibited and may be unlawful. In such case, you should please notify the
sender immediately and destroy this email.
> The content of this email is not legally binding unless confirmed by
> Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorised to
state them to be the views of the sender's company. For further information
about Actelion please see our website at

Nick Holford, Dept Pharmacology & Clinical Pharmacology
University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand

Received on Mon Mar 16 2009 - 11:36:20 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to:

Once subscribed, you may contribute to the discussion by emailing: