> 1. How to put multiple fileds in a
Subfile in one location. With display
> handlers like Indicators or keywords or
attributes. (Ihave done
> temporarily by putting a DS to move
fields) .
I define a single field on the subfile and
then build that string in my
program. I use the various BIFs to do this,
so I don't need any data
structures. Using this
technique has become a "peice of cake" with
RPG/ILE.
> 3. When I am doing some file
oprations(Additions...) with the file
> declaration as below, I am getting 20
error stating there is no
> calculation operation for file RPGPGM.
But I will compile the program
> with error seviarity more than 20. Then
it compiles and also runs with
> out any kind of problem with the
desired results. Why I am getting error
> like that. I have Z-add, Move, Write
etc. operations for the file also.
>
> F RPGPGM IF
E
DISK
A
Error 20 is pretty generic. Since you say
the file is Input/Add, I assume
that you have an input type operation
against this file (i.e. READ, CHAIN,
etc.).
Joe Teff