MODIDS: Translate Task to Module Pointers

Last updated 19 Nov 97

MODIDS will translate the task to module paragraph references into task to module sequence number records usable by the MODULE program. A runstream will also be generated which will create a standard Module Title file. MODIDS requires a paragraph identifier in each module title. The paragraph number may use any combination of characters as long as it is immediately followed by a period. Periods are not allowed as part of a paragraph number.

Automatic Process Generation

MODIDS will generate and execute a MODULE runstream unless the N option is specified. If the P option is specified, it will be passed on as an option to the MODULE runstream, which will in turn create a TASKXX runstream.

Program Invocation

The specific syntax for program invocation varies between operating systems. This document diplays the code for the AIX version.


@codap modids <opt> <ssss> <CI1> <CI2> <TT> <MT> [<CI3>]

opt:   E  Expand tasks-not-referenced module in the generated MODULE run
       N  NOGO, scan for errors only
       P  Print listing of task and module titles
ssss:     The study number
CI1:      Input file containing the module title cards
CI2:      Input file containing the task to module paragraph references
TT:       Input Task Title file containing the task statements
MT:       Output Module Title file
CI3:      Output file to save the task to module pointers.

Task to Module Paragraph Reference Record Format

This section describes the format of the cards in the pointers file contained on the processor call card. These records specify the tasks to be assigned to each module paragraph. All task assignments to be made for this module set must be specified in this file.


<task> <mod>

task:    cc 02-05  The number of the task
mod:     cc 06-23  The paragraph identifier for the module

MODULE Control Card


MODULE <study> <msid> <title>

MODULE:  cc 01-06  The literal 'MODULE'
study:   cc 08-11  The study number for this run
msid:    cc 13-18  The identifier for this module set
title:   cc 20-79  The title for this module set

Example

@codap modids - ssss mod.titles mod.ptrs tt000 mt000
module ssss STS001 This is the title for this module set

The module titles from "mod.titles" and the references from "mod.ptrs" would be combined with the information contained on tt000. The information would be written on the output file mt000.

Back to document index