Search found 9 matches

by sambit_mech
Wed Jul 14, 2010 11:46 am
Forum: ABEND CODES / ERROR CODES
Topic: User Abend 3057
Replies: 4
Views: 16161

See ABDNE is your program specific. We here in the forum can help you with system abends.
by sambit_mech
Wed Jul 14, 2010 11:45 am
Forum: ABEND CODES / ERROR CODES
Topic: what to do if bind fails as column is not in table
Replies: 8
Views: 16988

do not use "VALIDATE(BIND)" in your bind card.
by sambit_mech
Wed Jul 14, 2010 11:42 am
Forum: COBOL INTERVIEW QUESTIONS
Topic: How is sign stored in a COMP field ?
Replies: 3
Views: 7252

Too much bookish answer. I don't know exactly how. Can anyone answer?
by sambit_mech
Wed Jul 14, 2010 11:40 am
Forum: COBOL INTERVIEW QUESTIONS
Topic: sign stored in Packed Decimal fields and Zoned Decimal field
Replies: 2
Views: 8861

Packed decimal: Signed numeric - +1234 ---> in hex 024 13C -1234 ---> in hex 024 13D Unsigned numeric - 1234 ---> in hex 024 13F Zoned Decimal: Signed numeric - +1234 ---> 123D in EBCDIC -1234 ---> 123M in EBCDIC Unsigned numeric - 1234 ---> 1234 in EBCDIC How the sign is punched? } -0 { 0 A 1 B 2 C...
by sambit_mech
Wed Jul 14, 2010 11:34 am
Forum: COBOL INTERVIEW QUESTIONS
Topic: Can I redefine an X(200) field with a field of X(100) ?
Replies: 2
Views: 5944

Yes.
by sambit_mech
Wed Jul 14, 2010 11:33 am
Forum: COBOL INTERVIEW QUESTIONS
Topic: Can I redefine an X(100) field with a field of X(200)?
Replies: 3
Views: 8293

It will cause memory overflow giving S0c4.
by sambit_mech
Wed Jul 14, 2010 11:29 am
Forum: COBOL INTERVIEW QUESTIONS
Topic: What are the different data types available in COBOL?
Replies: 4
Views: 8700

The following data types are in use extensively: 1) Display usage - alphanumeric (PIC X(...)), zoned decimal (PIC 9(...)V9(...)). Please note that V is assumed decimal. 2) COMP - It is compiler dependent and is usually in Binary. 3) COMP-1, COMP-2 - I have never seen their usage. 4) COMP-3 - Packed ...
by sambit_mech
Wed Jul 14, 2010 11:24 am
Forum: COBOL INTERVIEW QUESTIONS
Topic: can i move comp to comp3? and vice versa?
Replies: 2
Views: 6126

YES
by sambit_mech
Wed Jul 14, 2010 11:21 am
Forum: COBOL INTERVIEW QUESTIONS
Topic: I want to find the 50th city code.how?
Replies: 4
Views: 12123

I think you need to read the 50th record from a PS file. If that is the case here's how:

Read infile and add 1 to ws-record-read variable until ws-record-read = 50.