English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

A datastructure is simply a variable with sub-parts. You define the DS in the D-spec as such

D filename DS
D fileN 10a
D libN 10a inz('*LIBL')

filename is now defined as 20a
you have 2 sub-variables of fileN and libN which can be individually changed which changes filename. or change filename and you change fileN and libN

The three variables can be operated on independently.....like any other Alpha variable.

you also have the file data structure which, at RUN TIME, will give you information about your open files.

D record DS 32766
D infds DS
D rrn 397 400i 0


happy coding

2007-03-05 14:25:46 · answer #1 · answered by Jeffrey F 6 · 0 0

fedest.com, questions and answers