Download User Manual
Transcript
PH 1.000 8 Right 1,000 1 Null Special, not "-" COBFREE 1.000 8 Right 1,000 1 Null Special, not "-" No No HTML 1.000 8 Right 1,000 1 Null Special No XML 1.000 8 Right 1,000 1 Null Special No JAVA 1.000 8 Right 1,000 1 Null Special, not "_" No QSL 1.000 8 Right 1,000 1 Null Special, not "_" No COBOL and COBOLX are identical, except that COBOLX allows data to extend into columns 73-80, while COBOL does not. This is a protection against compile errors for those programmers who do not use columns 73-80 for comments. You can force all COBOL files to be in COBOLX format by using /set lang cobolx all on This is useful when you are using Set X to tag program changes with a string or the date. You can change from a non-COBOL to a COBOL language, if the highest line number in your file is less than or equal to 999.999. The COBOL and COBOLX languages follow the COBOL standards very carefully. These standards describe the format of a statement. Most, if not all, compilers support the standards. Some compilers, however, allow a source file to be in a different format. Here is a quick summary of the differences between COBOL, COBOLX and COBFREE: COBOL COBOLX COBFREE Line numbers columns 1-6 columns 1-6 none Control column column 7 column 7 column 1 Statements columns 8-72 columns 8-72 columns 1-1,000 Comments none columns 73-80 None Starting column 7 7 1 Variable length no no Yes Record length 72 80 1,000 The Data Language setting defaults to 256 characters per record, but it can handle up to 8,172 characters in a Wide-Jumbo workfile. In a workfile of Jumbo format, the limit is actually 1,000. To use Data, your workfile must be in Jumbo or Wide-Jumbo format, which supports longer lines and more of them (99,999,999 instead of 65,535). If a non-Jumbo workfile is open, you will have to shut it before you can use Set Lang Data and create a new workfile. To check whether your open workfile is Jumbo or not, use Verify Open. If you see "No Recall" in the display, you are using an old workfile. If you see "Jumbo" or "W-Jumbo" after the Language value, you are using a Jumbo file. Because RPG is a column-oriented language, SMART searches on RPG source files are performed in DUMB mode. In FORTRAN, spaces in the middle of names have no significance (i.e., CUST BOOK is the same as CUSTBOOK). If a workfile is empty, you can set the Language to anything you like. Qedit 5.8 for HP-UX User Manual Qedit Commands • 166