Browse Prior Art Database

Procedure for Developing and Editing Test Packages

IP.com Disclosure Number: IPCOM000078113D
Original Publication Date: 1972-Nov-01
Included in the Prior Art Database: 2005-Feb-25
Document File: 3 page(s) / 15K

Publishing Venue

IBM

Related People

Vermot-Gauchy, J: AUTHOR

Abstract

The object of this procedure is to develop from a card file, one or more data sets arranged sequentially and to cause a listing thereof to be printed out in accordance with a format selected by the user, and thus provide a simple methodical and reliable means of testing programs. As a general rule, the creation of a test package involves the following steps: - prepare a card file - transfer the card file to a magnetic disk unit - arrange the records in accordance with the desired format - perform a sort - enter the file in a catalog - edit and print a listing of the file.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 58% of the total text.

Page 1 of 3

Procedure for Developing and Editing Test Packages

The object of this procedure is to develop from a card file, one or more data sets arranged sequentially and to cause a listing thereof to be printed out in accordance with a format selected by the user, and thus provide a simple methodical and reliable means of testing programs. As a general rule, the creation of a test package involves the

following steps:

- prepare a card file

- transfer the card file to a magnetic disk unit

- arrange the records in accordance with the desired format

- perform a sort

- enter the file in a catalog

- edit and print a listing of the file.

However, each of the above steps requires a separate utility program and the entire work must be repeated for each individual file.

In addition. since the method to be used to develop a test package is selected by each programmer as the basis of his own preferences and the specific requirements of the job involved, the tests cannot be consistent and the results obtained are of a transient character and difficult to communicate to different users.

The proposed procedure, referred to herein as the COSDE procedure, overcomes these drawbacks. It consists of a Job Control Language which is entered in a catalog, and which automatically uses several library programs to perform the functions described above. These programs are of two types:

- Conventional utility programs

card-to -disk transfer program

sort program

IEHPROG

- Two new programs:

FO21273 used to interpret the input file cards and define the

sort argument for the records.

FO21274: used to generate and edit the data sets.

Two types of output files will be obtained:

-test files OUTDA 1 to OUTDA n

- print files IMP1 tc IMPm.

The OUTDA files are entered in the catalog at the time they are generated. In order that these files may readily be modified without changing their designation, the COSDE procedure provides for the scratching, and removal from the catalog, of their DSNAME before they are generated. Job Control Cards (Under O.S)

STEPX EXEC COSDE

to request the execution of the procedure

STEP1.SYSIN DD D

1

Page 2 of 3

INPUT FILE

to enter the data

STEP2.SYSIN DD

SCRATCH SDNAME = ..., VOL = ..., PURGE

UNCATLG DSNAME = ...

to scratch the DSNAME of the OUTDA files being used and to remove

same from the catalog.

STEP3.OUTDA1 DD DSN = ...

STEP3.OUTDA2 DD DSN = ...

STEP3.OUTDAn DD DSN = ...

to define the output files.

Input File

This file describes the records to...