October 2009 Q&A
Is there an easy way to select all the fields in a file and build an expression or two?
Yes, you can use a SELECT * statement, but be sure to qualify the all-fields asterisk with a file qualifier and continue the SELECT clause with an expression. For example:
SELECT *.1, CRLIM-AMTDU NAME(CRBAL) LEN(9,2) FROM SEQUELEX/CUSTMAST
Need Help? Talk to Us |
