|
V6-SYS.SYS-2503
SAS informats that correspond to COBOL data descriptions
|
When asked which SAS informat corresponds to aCOBOLdata description, ask for thePICTUREandUSAGE.(If theUSAGEis COMP-1 or COMP-2, then there is noPICTURE.) Use the following to make the conversion: Pictures that have either A or X in them represent character values. Pictures that represent numbers use 9 to represent digits and may use an S to mean signed and a V to show the location of an implied decimal point. The number of characters or digits is specified either by the number of A's, X's, or 9's in the picture or by the number in parentheses immediately after the A, X, or 9 (ex.AAAAis the same as A(4)).USAGEPICTUREINFORMATwidth decimal ----- ------- -------- ----- ------- COMP-1NONERB4. COMP-2NONERB8.DISPLAY9(int)V9(fract)ZD(int + fract) (fract) COMP-3 9(int)V9(fract)PDCEIL((int + fract + 1)/2) (fract)COMP9(int)V9(fract)IBsee following table If 1 <= (int + fract) <= 4, width is 2 and decimal is fract. If 5 <= (int + fract) <= 9, width is 4 and decimal is fract. If 10 <= (int + fract) <= 18, width is 8 and decimal is fract.
| Products: | BASE |
| Component: | SYS.SYS |
| Priority: | N/A |
| Status: | Usage Issue |
| Date: | Tue, 30 Apr 1991 |
| System | Release Reported | Release Fixed |
No Fixes Available