IBM AS/400 manual Message Summary, Final Summary, Compiler Listings, Sample External References

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 460
Image 460
Figure 225. Sample External References

Compiler Listings

 

 

E x t e r n a l

R e f e r e n c e s

 

 

Statically bound procedures:

 

 

 

 

Procedure

 

 

 

References

 

 

PROTOTYPED

 

 

 

2

2

 

PADDR_PROC

 

 

 

4

 

 

CALLB_PROC

 

 

 

6

 

 

Imported fields:

 

 

 

 

 

 

Field

 

 

Attributes

 

Defined

 

 

IMPORT_FLD

 

P(5,0)

 

3

 

 

Exported fields:

 

 

 

 

 

 

Field

 

 

Attributes

 

Defined

 

 

EXPORT_ARR(2)

 

A(5)

 

2

 

 

* * * * *

E N D

O F

E X T E R N A L

R E F E R E N C E S

* * * * *

Figure 225. Sample External References

Message Summary

The message summary contains totals by severity of the errors that oc OPTION(*SECLVL) is specified, it also provides second-level message text. Figure 226 shows an example.

 

 

M e s s a g e

S u m m a r y

 

Msg id Sv Number Message text

 

 

 

*RNF7031 00

16 The

name or indicator

is not referenced.

 

 

Cause . . . . . :

The field, subfield, TAG, data

 

 

 

structure, PLIST,

KLIST, subroutine, indicator,

or

 

 

prototype is defined in the program, but not referenced.

 

Recovery

. . . :

Reference the item, or remove

it from

 

 

the program. Compile again.

 

*RNF7066 00

2 Record-Format name of

Externally-Described file is not u￿sed.

 

Cause . . . . . :

There is a Record-Format name

for an

 

 

Externally-Described File that is not used on a

valid

 

 

input or output operation.

 

 

Recovery

. . . :

Use the Record-Format name of

the

 

 

Externally-Described File for input or output, or specify￿

 

 

the name as a parameter for keyword IGNORE. Compile

 

 

again.

 

 

 

*RNF7086 00

2 RPG

handles blocking for the file. INFDS is updated

only w￿hen

 

blocks of data are transferred.

 

 

Cause . . . . . :

RPG specifies MLTRCD(*YES) in

the UFCB

 

 

(User-File-Control Block). Records are passed between RPG

 

 

and data management in blocks. Positions 241 through the

 

 

end of the INFDS (File-Information-Data Structure) are

 

 

updated only when

a block of records is read or

written.

 

Recovery

. . . :

If this information is needed

after

 

each read or write of a

record, specify the OVRDBF

 

command

for the file with SEQONLY(*NO).

 

* * * * *

E N D

O F

M E S S A G E

S U M M A R Y

* * * * *

Figure 226. Sample Message Summary

Final Summary

The final summary section provides final message

statistics

and source

also specifies the status of the compilation.

Figure 227

on page 437 s

example.

 

 

436 ILE RPG for AS/400 Programmer's Guide

Page 460
Image 460
IBM AS/400 manual Final Summary, Compiler Listings, Sample External References, Sample Message Summary