consider two data items
77 W-A PIC 9(3)V99 VALUE 23.75
77 W-B PIC ZZ9V99 VLAUE 123.45
after the statement
MOVE W-A TO W-B
what will be W-B's value?
a.123.75
b.b23.75 (where b indicates space)
c.023.75
d.invalid move
Answers were Sorted based on User's Feedback
Answer / rama krishna
b. Z replaces the value zero with blank spaces....
| Is This Answer Correct ? | 14 Yes | 3 No |
Answer / satish
z is numeric edited value so can.t initialize the value
so the question is wrong
pls check it pratically
| Is This Answer Correct ? | 0 Yes | 4 No |
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be 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.
1.What is the limit of linkage section?
what is the difference between external and global variables?
what is the minimum number of lines a Cobol program should have to successfully compile and run
11 Answers ABC, Societe Generale,
how to transfer the file from pc to mainframe??
Which division and paragraphs are mandatory for a COBOL program?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
should I use Go back in the main program ? Yes we can use Go back in main program as well.
Can the OCCURS clause be at the 01 level?