| Rename External File Field Names |
|
|
| Written by Admin (Chamara) | ||
| May 05, 2009 at 12:53 PM | ||
You can use PREFIX keyword in F spec. this will allow users to rename/prefix externaly described fiel field names
Ex: FUserMast UF A E K DISK PREFIX(F1) This will prefix all field names with F1
Suppose you want to remove n number of characters and replace them with some other charactor
Ex: FUserMast UF A E K DISK PREFIX(F1_ : 3)This will prefix all field names with F1_ by replacing the first 3 characters of fields.
Rename selected fields in a externaly discribed file
You can use an external unqualified data structure.
FMyFile1 if e k disk D DSFile1 E DS Extname(MyFile1) D RenFld11 E ExtFld(MyFld1) D RenFld12 E ExtFld(MyFld2) |
||
| <Previous | Next> |
|---|