| Author |
Message |
Topic: Effect of column expansion on pgms using the DB2 tbl or view |
Glenn
Replies: 5
Views: 2699
|
Forum: Database Posted: Thu Mar 04, 2004 10:10 pm Subject: Effect of column expansion on pgms using the DB2 tbl or view |
| That's the beauty of DB2...no no changes have to be made for other columns, assuming there wasn't any funny business like redefines or anything. Always check programs closely, but no, there's no "rec ... |
Topic: Index column in Plan table |
Glenn
Replies: 2
Views: 1981
|
Forum: Database Posted: Thu Mar 04, 2004 1:00 am Subject: Index column in Plan table |
| If you look in a higher post, there is a link posted which describes EXPLAIN results. |
Topic: How to convert numeric number to roman number? |
Glenn
Replies: 4
Views: 4008
|
Forum: Application Programming Posted: Thu Mar 04, 2004 12:20 am Subject: How to convert numeric number to roman number? |
1 = I
4 = IV
5 = V
9 = IX
10 = X
(and so forth)
and so forth....you take your number, substitute and build the value using your STRING verb and then go from there...I suggest you store this as ... |
Topic: How to do arithmatic operation in COBOl for long integers |
Glenn
Replies: 6
Views: 11710
|
Forum: Application Programming Posted: Thu Mar 04, 2004 12:14 am Subject: How to do arithmatic operation in COBOl for long integers |
| Odds are the original poster may not have this capability, especially given what the person has posted. I'm not sure if 9(30) is valid for their compiler, but for computational purposes it seems like ... |
Topic: Abend in 5000 records |
Glenn
Replies: 3
Views: 4810
|
Forum: Problem Determination Posted: Mon Jul 28, 2003 11:06 am Subject: Abend in 5000 records |
| To do a restart you add a statement to your SQL using a compare against your key fields (KEY1 > :KEY-FIELD). The cursor used to select the records to update must use ORDER BY as well. In this compar ... |
Topic: Count Of COlumns With Conditions |
Glenn
Replies: 4
Views: 2851
|
Forum: Database Posted: Thu Jul 10, 2003 2:07 pm Subject: Count Of COlumns With Conditions |
| Please describe in detail what you are wanting. |
Topic: Dynamic construction of sort card |
Glenn
Replies: 6
Views: 4328
|
Forum: Utilities Posted: Wed Jun 25, 2003 10:10 am Subject: Dynamic construction of sort card |
| I would think you would be able to use STRING in COBOL and output a LRECL80 F file with your sort parms and then use that as input for your sort on a subsequent step. But it sounds like you got it un ... |
Topic: length in bytes of PIC S9(9) COMP. |
Glenn
Replies: 7
Views: 50909
|
Forum: Application Programming Posted: Sat Jun 21, 2003 1:57 am Subject: length in bytes of PIC S9(9) COMP. |
| You have your answer if it occupied 4 bytes in your file. |
Topic: Internal Tables - Clarification |
Glenn
Replies: 3
Views: 2794
|
Forum: Application Programming Posted: Tue Jun 10, 2003 12:04 am Subject: Internal Tables - Clarification |
| The ASCENDING clause does not sort the data, merely specifies to the system to expect the data to be sorted for purposes of the SEARCH ALL. |
Topic: SEARCH ALL - Clarification |
Glenn
Replies: 11
Views: 5472
|
Forum: Application Programming Posted: Sun Jun 01, 2003 10:21 am Subject: SEARCH ALL - Clarification |
| As long as you are using SEARCH (like I said, for other reasons it's good to use it instead of a perform), you should be fine on that area. Even with the perform you should be fine as long as you are ... |
Topic: Is it possible to use a report file as input file in cobol?? |
Glenn
Replies: 3
Views: 2379
|
Forum: Application Programming Posted: Sun Jun 01, 2003 3:01 am Subject: Is it possible to use a report file as input file in cobol?? |
| This is done through your JCL. You can define a report to be sent to file just as easily as it is sent to printer. Most reports are usually something like RECFM=FBA,LRECL=133 - if you define it like ... |
Topic: SEARCH ALL - Clarification |
Glenn
Replies: 11
Views: 5472
|
Forum: Application Programming Posted: Sat May 31, 2003 1:54 pm Subject: SEARCH ALL - Clarification |
| SEARCH is a sequential search, which is the same as the perform you mention you are doing. Your sample data indicates multiple items in field-1 so this disqualifies using SEARCH ALL, if you want to g ... |
Topic: COBOL and Table Handling |
Glenn
Replies: 4
Views: 3484
|
Forum: Application Programming Posted: Wed May 21, 2003 1:45 pm Subject: COBOL and Table Handling |
| I understand the difference between a subscript and an index. I'm just basically ranting on the difference showing up in COBOL and not in another language, and the difficulty in most situations of co ... |
Topic: COBOL and Table Handling |
Glenn
Replies: 4
Views: 3484
|
Forum: Application Programming Posted: Wed May 21, 2003 1:14 pm Subject: COBOL and Table Handling |
I'm writing this to try and describe one of the problems I have with how index handling is done in COBOL...the indexes and the subscripts aren't very interchangable...
The indexes are only good IMO ... |
Topic: Cobol write problem.. |
Glenn
Replies: 8
Views: 6264
|
Forum: Application Programming Posted: Mon May 19, 2003 1:27 pm Subject: Cobol write problem.. |
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG00/4.2.6.1?DT=20011203125201#HDRDUP1875
There's the answer to your question. It's as I suspected (the FD's are clashing if you don' ... |
| |