Process Help

REPORK - generate tabulated report with specific features for compression

 

Process Name

Menu Path

Link to Command Table

REPORK

Command line only

Click here

 

Introduction

General tabulating report generator with provision for separate keyfield sections.

How to use

Main features are that it allows printing of headers according to the keyfields values. The user may select fields for tabulation, for display below each keyfield header. Up to 132 columns can be printed and compressed printing can be initialized on Fujitsu DPL24C compatible printers.


Files, Fields and Parameters

Input Files

Name

Description

I/O Status

Required

Type

IN

Input data file.

Input

Yes

Table

Output Files

Name

I/O Status

Required

Type

Description

Fields

Name

Description

Source

Required

Type

Default

KEY1

Keyfield 1, optional

IN

No

Any

Undefined

KEY2

Keyfield 2, optional

IN

No

Any

Undefined

KEY3

Keyfield 3, optional

IN

No

Any

Undefined

KEY4

Keyfield 4, optional

IN

No

Any

Undefined

KEY5

Keyfield 5, optional

IN

No

Any

Undefined

KEY6

Keyfield 6, optional

IN

No

Any

Undefined

KEY7

Keyfield 7, optional

IN

No

Any

Undefined

KEY8

Keyfield 8, optional

IN

No

Any

Undefined

KEY9

Keyfield 9, optional

IN

No

Any

Undefined

KEY10

Keyfield 10, optional

IN

No

Any

Undefined

KEY11

Keyfield 11, optional

IN

No

Any

Undefined

KEY12

Keyfield 12, optional

IN

No

Any

Undefined

KEY13

Keyfield 13, optional

IN

No

Any

Undefined

KEY14

Keyfield 14, optional

IN

No

Any

Undefined

KEY15

Keyfield 15, optional

IN

No

Any

Undefined

KEY16

Keyfield 16, optional

IN

No

Any

Undefined

KEY17

Keyfield 17, optional

IN

No

Any

Undefined

KEY18

Keyfield 18, optional

IN

No

Any

Undefined

KEY19

Keyfield 19, optional

IN

No

Any

Undefined

KEY20

Keyfield 20, optional

IN

No

Any

Undefined

KEY21

Keyfield 21, optional

IN

No

Any

Undefined

KEY22

Keyfield 22, optional

IN

No

Any

Undefined

KEY23

Keyfield 23, optional

IN

No

Any

Undefined

KEY24

Keyfield 24, optional

IN

No

Any

Undefined

KEY25

Keyfield 25, optional

IN

No

Any

Undefined

Parameters

Name

Description

Required

Default

Range

Values

LINES

Number of lines per page of output. If negative will be double spaced.

No

Undefined

Undefined

Undefined

NOFF

If set to 1, suppresses form feeds (0).

No

0

0,1

0,1

PRNTCOLS

Required print width in columns (132).

No

132

Undefined

Undefined

HEDCENTR

If set to 1, page heading to be centred (0).

No

0

0,1

0,1

HEDSPACE

Number of lines spacing required between the page headings, key block, and table headings.

No

Undefined

Undefined

Undefined

COMPRESS

Set to 1 for compressed print option (only for some printers. Uses DPL24C convention).

No

Undefined

0,1

0,1

MINDSPLY

Set to 1 to suppress screen display of the full report tabulation (0).

No

0

0,1

0,1

SYSFILE

 

Option

Description

1

to send report to a system file rather than the printer or print file (0). File name is requested:

No

0

0,1

0,1


Notes

  1. Compressed printing is available for FUJITSU DPL24D compatible printers.

  2. >SYSFILE> System file name, required only if the parameter SYSFILE is set to 1.


Example

!REPORK  

&IN(HOLES),*KEY1(BHID),@LINES=60.0,@NOFF=1.0,

@PRINTCOLS=132.0,@HEDCENTR=1.0,@HEDSPACE=5.0,

@MINDSPLY=0.0,@SYSFILE=1.0

   

SYSFILE>REPORK.DAT

  

>>> PLEASE SUPPLY A SINGLE-LINE PAGE HEADER

  

TEXT>HEADER 1

  

 

Please supply preceding text for keyfield BHID within single quotes if there are any trailing blanks

  

TEXT>'HOLE'

  

FORTRAN format for alpha field BHID of length 2 words

  

FORMAT2A4

  

> FORMAT :-(1X ,' ',2A4)

 

 

  

>>> Now define main tabulation fields <<<

  

FIELDFROM

  

> FIELD FROM IS NUMERIC

  

ZONEWIDTH?>6

  

 

Please supply header for field FROM up to a zone width of 6 columns, and up to 5 lines deep. 0 columns used, 132 still available If less lines needed, can terminate with a #

  

TEXT >FROM

  

TEXT >#

 

 

  

>>> HEADER SO FAR ...

 

 

  

FROM

  

FORTRAN format for numeric field FROM

  

FORMAT F6.1

  

0.0

  

FIELD TO

  

FIELD TO IS NUMERIC

  

ZONEWIDTH?>6

  

 

Please supply header for field TO up to a zone width of 6 columns, and up to 5 lines deep. 6 columns used, 126 still available If less lines needed, can terminate with a #

  

TEXT >TO

  

TEXT >#

 

 

  

>>> HEADER SO FAR ...

 

 

  

FROM TO

  

FORTRAN format for numeric field TO

  

FORMAT F6.1

  

0.0 0.0

  

FIELD 

  

>>> NOW READY TO WRITE REPORT <<<

 

The defined report is then sent to the system file REPORK.DAT.


Error and Warning Messages

Message

Description

Solution

>>> YOU HAVE EXCEEDED THE MAXIMUM FORMAT SPECIFIER LENGTH OF 250 CHARACTERS. ONLY THOSE FIELDS CURRENTLY DEFINED ARE TO BE OUTPUT <<<

The maximum width of 250 characters was exceeded. Any additional field is ignored.

 

 

 

 

>>> FORTRAN ERROR NUMBER = nnnnnn WRITING TO PRINTER

A system error occurred when writing the output to the line printer. Fatal; the process is exited.