RPGLE define big variable names - long field names

RPG IV supports definition names up to 4,096 characters long, with some restrictions. In fixed-column specifications, names can be as long as will fit in the entry.

Just use Three dots at the end and you can continue in the next line
D OrderLine_t     DS                  qualified         
D                                     based(Template)   
D   OrderlineID                  4a                     
D   ItemID                      20a                     
D   ItemDescription...                                  
D                               30a                     
D   Quantity                     8a                     
D   Price                       11a                    

No comments:

Post a Comment

NO JUNK, Please try to keep this clean and related to the topic at hand.
Comments are for users to ask questions, collaborate or improve on existing.