Give some advantages of REDEFINES clause. ?
1. You can REDEFINE a Variable from one PICTURE class to another PICTURE class by using the same memory location. 2. By REDEFINES we can INITIALISE the variable... Read more »
1. You can REDEFINE a Variable from one PICTURE class to another PICTURE class by using the same memory location. 2. By REDEFINES we can INITIALISE the variable... Read more »
Using EXEC CICS SPOOL WRITE(var-name) END-EXEC command. var-name is a COBOL host structure containing JCL statements. Read more »
Use a file //dd1 DD sysout=(*, intrdr)write your JCL to this file. Pl some on try this out. Read more »
Make sure that link option is AMODE=31 and RMODE=ANY. Compile option should never have SIZE(MAX). BUFSIZE can be 2K, efficient enough. Read more »
SEARCH is a sequential search from the beginning of the table. SEARCH ALL is a binary search, continually dividing the table in two halves until a match is found.... Read more »
use ‘evaluate’ stmt for constructing cases. 2) use scope terminators for nesting. 3) use in line perform stmt for writing ‘do ‘ constructions.... Read more »
PICTURE 9v99 is a three position Numeric field with an implied or assumed decimal point after the first position; the v means an implied decimal point. Read more »
PIC 9.99 is a FOUR-POSITION field that actually contains a decimal point where as PIC 9v99 is THREE- POSITION numeric field with implied or assumed decimal position. Read more »
To correct an earlier answer: All called modules cannot run standalone if they require program variables passed to them via the LINKAGE section. DYNAMICally called... Read more »
The ONLY way is to look at the output of the linkage editor (IEWL)or the load module itself. If the module is being called DYNAMICALLY then it will not exist in... Read more »
REPLACING allows for the same copy to be used more than once in the same code by changing the replace value. Read more »
In a binary search the table element key values must be in ascending or descending sequence. The table is ‘halved’ to search for equal to, greater than... Read more »
LENGTH acts like a special register to tell the length of a group or elementary item. Read more »
In COBOL II the 88 levels can be set rather than moving their associated values to the related data item. (Web note: This change is not one of COBOL II’s better... Read more »
INITIALIZE moves spaces to alphabetic fields and zeros to alphanumeric fields. The REPLACING option can be used to override these defaults. Read more »