1)what is use of linkage section?
2)what is difference between comp and comp-3
Answer / samay simant
answer 1) Linkage section is used to accept data from outside the program.either its parm part of Jcl or Call from any other programs,they pass data into called program thru linkage section only.
2)Comp is binary.its the type how system stores ur data.
pic s9(1)-->pics9(4) --occupies 2bytes
pic s9(5)---pic s9(8) ----4 bytes
pic s9(9)---pics9(18)-----8 bytes
comp-3 is for packed decimal data where each character occupies half byte and sign is stored in last nibble.
If wrong,plz correct me anyone
| Is This Answer Correct ? | 13 Yes | 1 No |
what is sync clause?
how to crack cts interview apps? NOVEMBER 21 2010
can we use COPY statement in w-s section? how?
what is internal sort and external sort ? which is preferable ?
Should I use STOP RUN in the sub program??why?
What COBOL construct is the COBOL II EVALUATE meant to replace?
How can we know that cobol program is using report file or simple file....?
What is Alternate Index ? How is it different from regular index ?
hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps
i want a program using by if, evaluate , string, unstring, perform, occurs?
what are the error codes in cobol, db2, cics, vsam , and jcl
how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array