how to check whether the open command of a sequential file is
successful? or not?
Answers were Sorted based on User's Feedback
Answer / mani yadav
By Using File-status.
File status code is 00.succesfully opened.
| Is This Answer Correct ? | 34 Yes | 2 No |
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What are the differences between COBOL and COBOL II?
study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10
example for sub strings ? and refernce modifications whit output pls
0 Answers College School Exams Tests, IBM,
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
Give some examples of command terminators?
What are subroutines ? and how do we pass data to the sub routines?
What is a scope terminator? Give examples.
how we can edit records in vsam data set and non vsam data sets
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?