Difference between revisions of "Workstation Data Structure"

From MidrangeWiki
Jump to: navigation, search
(Using RPG III type data structures:)
(Using RPG IV Style Data Structures:)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
[[Category:RPG]]
 
[[Category:Quick Reference]]
 
[[Category:Quick Reference]]
 
==Using RPG III Style data structures:==
 
==Using RPG III Style data structures:==
Line 36: Line 37:
 
D rows                          5i 0   
 
D rows                          5i 0   
 
D columns                        5i 0   
 
D columns                        5i 0   
D fkey                          1a  
+
D fkey                          1a   Overlay(wsds:369)
 
</pre>
 
</pre>

Latest revision as of 14:30, 9 May 2006

Using RPG III Style data structures:

Dwsds             ds                 
d dspf                    1      8a  
D openflag                9      9a  
D eof                    10     10a  
D status                 11     15s 0
D opcode                 16     21a  
D routine                22     29a  
D srcstmt                30     37a  
D rcdfmt                 38     45a  
D msgid                  46     52a  
D mi#                    53     56a  
D scrsize                67     70s 0
D rows                  152    153b 0
D columns               154    155b 0
D fkey                  369    369   

Using RPG IV Style Data Structures:

Dwsds             ds                   
d dspf                           8a    
D openflag                       1a    
D eof                            1a    
D status                         5s 0  
D opcode                         5a    
D routine                        8a    
D srcstmt                        8a    
D rcdfmt                         8a    
D msgid                          7a    
D mi#                            4a    
D scrsize                        4s 0  
D rows                           5i 0  
D columns                        5i 0  
D fkey                           1a   Overlay(wsds:369)