How do you define a variable of COMP-1? COMP-2?
Answers were Sorted based on User's Feedback
Answer / pal
77 A COMP-1.
77 B COMP-2.
because we can't use PIC clause in comp-1 & comp-2
| Is This Answer Correct ? | 42 Yes | 8 No |
Answer / paddu
01 a usage comp-1.
01 b usage cpmp-2.
this way to define
| Is This Answer Correct ? | 12 Yes | 1 No |
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
Hai friends why we need to read a file before re-write a record?
What is the difference between perform … with test after and perform … with test before?
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
TYPES OF SORTINGS. which is more prefarable.
How to read the last 100 records from a COBOL file. The file contains N number of records.
What is the difference between next sentence and continue in cobol programing language?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
what is the difference between COBOL2 AND COBOL390?
how can we find total no of records in a file ....is there any utility......?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...
2 Answers ITC Indian Tobacco Company, PNP, TCS,