3.9.3 Control of File Inputs and Outputs (I/O)
188.8.131.52 Control of I/O on DOS PCs
The main input runstream file and the main output print file are both specified on the command line when running the models on a PC. Since the PC‑executable file provided explicitly opens these two files, there is no need to use DOS redirection of input and output. Therefore, a standard command line to execute the ISCST model might look something like this:
C:\>ISCST3 TEST‑ST.INP TEST‑ST.OUT
where the "DOS prompt" has been given as "C:\>", but may look different on different systems, or may include a subdirectory specification. Since DOS redirection is not used for the output file, an output filename must be specified or the model will not execute properly. This is done to allow for the model to write an update to the PC terminal on the status of processing. The output file generated by the DOS version includes page feeds that are written directly to the file as part of the header for each page, rather than using the Fortran carriage control of '1'.
184.108.40.206 Controlling I/O on Other Computer Systems.
The PC‑executable versions of the models that are available on the SCRAM BBS includes certain features that are specific to operating the models in a PC environment. These include specifying the input and output file names on the command line and writing an update on the status of the processing to the computer screen. In order to accomplish the latter, the output file is opened explicitly. The PC versions also include writing a date and time for the run on each page of the printed output file. The Fortran computer code that is used to implement these PC‑specific features has been commented out in the source code files available on SCRAM. This is done in order to make the most use of the features available for the PC while at the same time making the Fortran source code as "portable" to other computer systems as reasonably possible. This section briefly addresses the control of model input and output for non‑PC computer systems.
With the PC‑specific code commented out in the ISC source code, the models will use the default input unit (Fortran unit 5) for reading the input runstream file, and the default output unit (Fortran unit 6) for writing the printed output file. These files are not opened explicitly by the models with the PC code commented out. These files have to be defined, using the $DEFINE command in VAX/VMS and using the DD statement in the JCL for the IBM/MVS. Refer to Section 4.3 for additional information about running the models in other environments.
4.0 COMPUTER NOTES
This section provides information regarding the computer aspects of the ISC models, including the minimum hardware requirements for executing the models on a PC, instructions regarding compiling and running the models on a PC, and information regarding porting the models to other computer systems. A more detailed Programmer's Guide is provided in Volume III of the ISC Model User's Guide, including details regarding the design of the computer code.
201 - 202 - 203 - 204 - 205 - 206 - 207 - 208 - 209 - 210 - 211 - 212 - 213 - 214 - 215 - 216 - 217 - 218 - 219 - 220 - 221 - 222 - 223 - 224 - 225 - 226 - 227 - 228 - 229 - 230 - 231 - 232 - 233 - 234 - 235 - 236 - 237 - 238 - 239 - 240 - 241 - 242 - 243 - 244 - 245 - 246 - 247 - 248 - 249 - 250
castellano: DIS CUS DES RAD english: DIS CUS DES RAD
português: DIS CUS DES RAD italiano: DIS CUS DES RAD
français: DIS CUS DES RAD