Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.
I get the following error information and messages -
. . . . . . . . . . . . . : 01251
Permanent I/O error occurred (C G S D F).
n . . . . . . . . . . . . : EXFMTR
CPF5192 Data sent to device not valid. Negative response code is .
How does this condition happen and how do I fix it?
It happens when executing the exfmt opcode in an RPG III program
Do you have data below X'40' being displayed?
Do you have a subfile on the screen without any records in it?
As Bob suggested, most likely cause is that you are trying to display data that contains an invalid hex code. The following cannot be displayed:
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D