hi dudes.....can any one help me.....
what is SET TO TRUE all about,anyway?
Level 88 variables which are conditional variables, will
have values which will be either true or false.
Like if you have condition that at the end of file set a
flag to true then you can declare level 88 variable which
will be set to true or will have a value 'Y'(declared value
for the variable) as soon as the file does not have any more
records.
05 WS-FLAG
88 WS-END_OF_FIlE Value 'Y'
88 WS-NOT_END_OF_FILE Value 'N'
Here when you say set WS-FLAG to true then it will
automatically get value 'Y', which shows end of the file.
| Is This Answer Correct ? | 6 Yes | 0 No |
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?
What are the rules of the move verb?
how do you reference the fixed unblock file formats from cobol programs
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
How may divisions are there in JCL-COBOL?
How do pass the values to the parameters in cobol
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?
Can we use icetool in cobol program?
What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?
I am getting S00F abend when i try to compare two variable of different pic class,one variable is of 9(09) and another is S9(09) comp-3. First i moved the data from S9(09) comp-3 to 9(09), but no luck. So i tried to move the data from S9(09) comp-3 to X (09) and move to 9(09). I am getting same error message, Please help me to find solution for this ptoblem. ERROR MESSAGE - "The system or user abend S00F R=NULL was issued."