How to define a file twice for two members? [email protected] (Simon Hutchinson)

​[[{“value”:”I was asked this question about reading a two members from a DDS file in a RPG:

I’m not understanding what the definition of ‘FILE1’ and ‘FILE2’ would be if i am defining the same file in order to use 2 different members. I get the external definitions for file and member, but how do i define the same file in the dcl-f spec?

This post will describe how I would do it.
First I need a file with two members. I start with a DDS file, with one field FIELD.

01 A R TESTFILER
02 A FIELD 30A

Read more »”}]] Read More 

Leave a Reply

Verified by MonsterInsights