COMP?
Answers were Sorted based on User's Feedback
Answer / neeraj
comp,comp-4 both are same used for the binary
representation of the data fields.
Size of memory allocated will be based on
If 1-4 2 bytes
5-9 4 bytes
10-18 8 bytes
Pic clause is attached with COMP data types
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vampire
comp had boundaries
1-4 halfword-2bytes-16bites-4nibbles
5-9 fullword-4bytes-32bites-8nibbles
10-18 doubleword-8bytes-64bites-16nibbles
| Is This Answer Correct ? | 0 Yes | 0 No |
how you read control card into array?
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
how do u indetify files succesfully executed or not ?
consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct statement a.organization of IN-FILE is sequential and records can be added in the beginning b.organization of IN-FILE is sequential and records can be added in the end c.organization of IN-FILE is indexed and records can be added in the beginning d.organization of IN-FILE is indexed and records can be added in the end
what r the types of perform statement
how can we get current dat and time thru cobol pgm
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division
wht do u mean by (*,intrdr) wht is * used for ?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
what is linkcard in cobol?