is it mandatory to give data division before procedure division ?
wht happens if i give procedure division first thn data division
? reply soon
Answers were Sorted based on User's Feedback
Answer / sarang sangeet
THE COMPILATION JOB GETS ABENDED WITH MAXCC=12.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / paray2x
You will get compilation error.
All the files,identifiers, literals used in Procedure
Division have to defined first.
It is imperative for the Data division to appear before
procedure division.
Is This Answer Correct ? | 3 Yes | 0 No |
What is the maximum data length for Numeric DataType ?
Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the maximum length of a field you can define using COMP-3?
4 Answers Complex System, Infosys,
Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a
In which area will you utilize 88 level items in cobol?
How do get the result of your program directly on your pc?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.
what is meaning by design document? who can repared for this?
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?