From: Paul Hutson prhutson@pharmacy.wisc.edu
Subject: [NMusers] SIMULATION SUBPROBLEM generated ID number
Date: Thu, July 15, 2004 2:45 pm
 
I am using SIMULATION to generate a set of data for later evaluation as an 
exercise.  I cannot find how to generate a new ID number for the i-th 
simulation.  I could go to the concatenated output file and enter it, but I 
would like to use the new value for each sim to modify parameters (eg, +/- 
food with med).  How can one generate the current simulation number?
Thanks
Paul

Paul Hutson, Pharm.D.
Associate Professor (CHS)
UW School of Pharmacy
777 Highland Avenue
Madison, WI 53705-2222
Tel:    (608) 263-2496
FAX:    (608) 265-5421
Pager: (608) 265-7000, #7856
_______________________________________________________

From: "Riley, Steve" 
Subject: RE:[NMusers] SIMULATION SUBPROBLEM generated ID number
Date: Thu, July 15, 2004 3:25 pm

Paul,

I believe what you are looking for is the IREP variable stored in ROCM10. If
you rename this variable in your control stream, you can access it directly
(without including any verbatim code) and output it in the $TABLE step. 

e.g., 

. . .

COUNT = IREP

$SIMULATION . . .
$TABLE ID TIME COUNT . . .

Steve
_______________________________________________________

From: Nathan S. Teuscher, Ph.D. NTeuscher@npsp.com
Subject: RE:[NMusers] SIMULATION SUBPROBLEM generated ID number
Date: Thu, July 15, 2004 3:47 pm

Paul, 

If you put the statement 

REPI = IREP 

in the $ERROR block, the variable
REPI will be your replication number
if you use SUBPROBLEMS # in the Simulation
command. (I assume you could directly use the
IREP variable too.) 

Nathan 
________________________
Nathan S. Teuscher, Ph.D.
Clinical Pharmacokinetics
NPS Pharmaceuticals
420 Chipeta Way
Salt Lake City, UT 84108
Voice: (801) 584-5379
Fax: (801) 583-2590
Email: nteuscher@npsp.com  
_______________________________________________________

From: "Gobburu, Jogarao V"    
Subject: RE:[NMusers] SIMULATION SUBPROBLEM generated ID number
Date: Thu, July 15, 2004 3:48 pm 

Hello,
  You can define REP = IREP and output REP in your table. 

Regards, 
Joga Gobburu 
_______________________________________________________