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 |
There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?
what happens if we dont close cursor in db2-cobol pgm?
How to read the last 100 records from a COBOL file. The file contains N number of records.
in the TIME parameter we r giving hours r minutes
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
How do u write test cases?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
Mention the guidelines to write a structured cobol program?
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between comp and comp-3 usage?
where did you see the information regarding abend codes in jcl?