Operator

COBOL EVALUATE CONDITIONAL EXPRESSION

EVALUATE CONDITIONAL EXPRESSION The following COBOL program depicts the use of  EVALUATE CONDITIONAL EXPRESSION        01 STUDENT1-MARKS   PIC 999  VALUE ZEROS.        01 STUDENT2-MARKS   PIC 999  VALUE ZEROS.              MOVE 99   TO STUDENT1-MARKS.              MOVE 100  TO STUDENT2-MARKS. […]

COBOL EVALUATE CONDITIONAL EXPRESSION Read More »

S222 Abend

S222 Abend What is a S222 Abend? S222 is a system Abend (operator cancelled). When S222 Abend occurs? This generally occurs when the program is looping and the operator has to cancel the job. Job may be waiting for resources which are not available temporarily and the operator cancels the job. The job is causing

S222 Abend Read More »

Example of RENAME CLAUSE PROGRAM IDENTIFICATION DIVISION.                           PROGRAM-ID. PGM003.                                AUTHOR. MAINFRAMEWIZARD.                          DATA DIVISION.                                    WORKING-STORAGE SECTION.                           01 GROUP1.                                            05 REC1.                                              10 ELEMENT1 PIC X(3) VALUE ‘WWW’.                  10 ELEMENT2 PIC X(9) VALUE ‘MAINFRAME’.         05 REC2.                                              10 ELEMENT3 PIC X(6) VALUE ‘WIZARD’.               10

Read More »

S0C7 Abend

S0C7 Abend What is S0C7 Abend? S0C7 is a Data exception abend. When S0C7 Abend occurs? S0C7 abend is a Data exception which is caused when a usage computational-3 field has an invalid data (which is not 0-9). It may also be caused if the last byte contains an invalid sign bit (which is anything

S0C7 Abend Read More »

Example of DIVIDE verb PROGRAM IDENTIFICATION DIVISION.                                          PROGRAM-ID. PGM007.                                               AUTHOR. MAINFRAMEWIZARD.                                         DATA DIVISION.                                                   WORKING-STORAGE   SECTION.                                        01 NUM1  PIC 9(3) VALUE 05.                                       01 NUM2  PIC 9(3) VALUE 25.                                       01 NUM3  PIC 9(3) VALUE 12.                                       01 NUM4  PIC 9(3) VALUE 60.                                       01 NUM5  PIC 9(3) VALUE 50.                                       01 NUM6 

Read More »

Is 0123 a valid section name? OCCURS clause cannot be specified for 01 and 77. How many bytes would S9(9)V99 occupy? Can index be manipulated using ADD & SET verbs Identify the correct statement. A) PERFORM WITH TEST AFTER is the default.  B) PERFORM WITH TEST BEFORE is the default.  How many times PARA-1 is

Read More »

What is a GDG?

What is a GDG? GDG- It is the acronynm for Generation Data Group. GDG is a group of chronologically related datasets. The individual generation of datasets within a GDG is called generation data set (GDS). These GDS have sequential generations as the absolute names. These can also be referred by their relative names. GDG(0)- Refers

What is a GDG? Read More »

Example of ADD VERB PROGRAM IDENTIFICATION DIVISION.                                          PROGRAM-ID. PGM004.                                               AUTHOR. MAINFRAMEWIZARD.                                         DATA DIVISION.                                                   WORKING-STORAGE SECTION.                                          01 GROUP1.                                                           05 ELEMENT1 PIC 9(3) VALUE 15.                                    05 ELEMENT2 PIC 9(3) VALUE 25.                                 01 GROUP2.                                                           05 ELEMENT3 PIC 9(3) VALUE 23.                                    05 ELEMENT4 PIC 9(3) VALUE 45.                              

Read More »

Walk-ins at Chennai

Walk-in Event in Chennai Requirement 1: Role: Oracle Applications – Technical Consultants| Experience: 2 – 5 years Qualification:BE/B.Tech/M.C.A. Skills: Oracle Applications The ideal candidate should possess: Development experience in implementation and ASM projects on Oracle CRM Foundation, tele-service, Field Service, Mobile field Service, Trading Community Architecture, Service Contracts and Order Management Modules Should possess knowledge

Walk-ins at Chennai Read More »