where do u use low-value and high value in cobol
Answers were Sorted based on User's Feedback
Answer / mehdee
When you need a data field to have value less than any
other data INITIALZE or MOVE LOW-VALUES to that filed. same
for HIGH-VALUES when you need that field to have valuue
more that any other data.
Is This Answer Correct ? | 21 Yes | 2 No |
Answer / aditya
it depends upon the logic we are writing.if we dont know the lowest value record.we can move the low values and can write a logic as read next in the case of files concept.its just an example
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / mahesh
when we a small integer then we have to use low value
otherwise go for high-value
Is This Answer Correct ? | 3 Yes | 16 No |
What is ASKTIME, SUSPEND
consider the following FD FILE-1 01 REC-1 PIC X(80) ...... WORKING-STORAGE SECTION 01 W-REC PIC X(90) ........ PROCEDURE DIVISION FIRST-PARA ....... READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG which of the following is true with respect to the above? a.REC-1 will contain nothing and W-REC will contain the contains of the record read b.REC-1 and W-REC contain the same data c.syntex is invalid and error will occur d.REC-1 and W-REC must be of same size
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
What was removed from COBOL in the COBOL II implementation?
In COBOL programming, what is PERFORM? What is VARYING?
what happens if parmparameter passes zero bytes to the program
What are the differences between COBOL and COBOL II?
have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code
where did you see the information regarding abend codes in jcl?
What is an in line PERFORM? When would you use it? Anything else to say about it?
I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..
hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps