Posts by Bill Woodger • 646 points
6 posts
-
-1
votes2
answers604
viewsA: What is the Connection String used to make the connection between Cobol and B.D. Oracle?
Apologies for the machine translation. I welcome the help of the editors (it has been some time since the last time). COBOL does not have "strings", in the sense that there is no field with a…
-
4
votes1
answer388
viewsA: Dynamic Memory Allocation in Cobol
The verb in COBOL that does this is ALLOCATE. Assignment of can only be used with a data item defined as BASED (which indicates that the compiler does not assign the usual storage for the data…
-
5
votes3
answers1089
viewsA: What are the pros and cons of indexing vectors by zero or one?
Well, my second sign rejected (of two) :-) I understand that this site has different rules of the OS - and I would like to take this opportunity to say that this site is my favorite, by a long…
-
32
votes7
answers18353
viewsA: Why is COBOL still the preferred language in the business world?
Can anyone else see the problem with that question? People who don’t know about COBOL, talking about COBOL, people who don’t know about mainframes, talking about mainframes. Let’s divide the…
cobolanswered Bill Woodger 646 -
10
votes2
answers2308
viewsA: Intrinsic function to convert numeric to string
No, it has no intrinsic function. REDEFINES, directly, does nothing for you. If you want the numbers: 01 O-CAMPO COMP PIC 9(4). 01 O-NUMERO PIC 9(4). MOVE O-CAMPO TO O-NUMERO DISPLAY O-NUMERO…
cobolanswered Bill Woodger 646 -
4
votes1
answer225
viewsA: IBM DFSORT - Recovering only the current year for comparison
//GEANO EXEC PGM=SORT //SYMNAMES DD * ESTA-ANO,S'&YR4' //SYMNOUT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SORTOUT DD SYSOUT=* //SYSIN DD * OPTION COPY INCLUDE COND=(1,4,CH,GE,ESTA-ANO) //SORTIN DD *…
dfsortanswered Bill Woodger 646