Author |
Message |
Topic: COBOL Compiler options for debug |
misi01
Replies: 2
Views: 1563
|
Forum: Application Programming Posted: Tue Nov 05, 2024 5:17 am Subject: COBOL Compiler options for debug |
Look at it this way. You've appended something that others (or you, if you forget the solution next time ) can find, and that can't be bad. |
Topic: Calling a UDF with multiple parameters in |
misi01
Replies: 2
Views: 1815
|
Forum: Database Posted: Mon Sep 30, 2024 6:23 am Subject: Calling a UDF with multiple parameters in |
Here's an example of a UDF that works.
DROP FUNCTION BINARY_TO_EBCDIC ;
CREATE FUNCTION BINARY_TO_EBCDIC(VARBINARY(100))
RETURNS VARCHAR(100) ... |
Topic: Calling a UDF with multiple parameters in |
misi01
Replies: 2
Views: 1815
|
Forum: Database Posted: Thu Sep 26, 2024 9:45 am Subject: Calling a UDF with multiple parameters in |
Searched and found something similar at
CREATE FUNCTION BINARY_TO_COMP3(VARBINARY(100), CHAR(5))
RETURNS DECIMAL(18)
EXTE ... |
Topic: Displaying binary data as "readable" such |
misi01
Replies: 3
Views: 1995
|
Forum: Database Posted: Thu Sep 19, 2024 1:21 am Subject: Displaying binary data as "readable" such |
It turned out to be much easier than I thought. Basically, I wrote a simple UDF (after testing how to define one via ChatGTP - although that generated the wrong definitions in the linkage section, but ... |
Topic: Editing Packed Decimal data in File manager |
misi01
Replies: 4
Views: 4013
|
Forum: TSO and ISPF Posted: Wed Sep 11, 2024 1:32 am Subject: Editing Packed Decimal data in File manager |
The answer was far easier than I realized (and stumbled over accidentally).
Simply enter the prefix command k in the left hand column (on the root segment line) and you'll be presented with a panel ... |
Topic: Converting hex values to decimal |
misi01
Replies: 3
Views: 1793
|
Forum: Database Posted: Thu Jul 11, 2024 12:03 am Subject: Converting hex values to decimal |
I didn't forget, but maybe you misunderstood my question?
The original post and this one can be simply illustrated with the following Rexx script.
str_b = 'F1F2F3'
say str_b' 'x2c(st ... |
Topic: Converting hex values to decimal |
misi01
Replies: 3
Views: 1793
|
Forum: Database Posted: Mon Jul 08, 2024 7:25 am Subject: Converting hex values to decimal |
This seems strange to me and I must be missing something that's ridiculously simple, but for the life of me, I can't find it.
select hex(24) from sysibm.sysdummy1 ;
shows the hex valu ... |
Topic: English expression |
misi01
Replies: 2
Views: 2383
|
Forum: Related Non-Technical Topics Posted: Wed Jul 03, 2024 1:42 am Subject: English expression |
A colleague asked me (I who haven't lived in England in decades and has worked all my life in Sweden) what the English expression might be for the concept of masking and copying data from production t ... |
Topic: Displaying binary data as "readable" such |
misi01
Replies: 3
Views: 1995
|
Forum: Database Posted: Mon Jun 17, 2024 7:46 am Subject: Displaying binary data as "readable" such |
Thank you for your suggestions. I'll almost certainly revisit the CASE example for the situation where the database can contain negative values (very unusual), but for all the "ordinary" pos ... |
Topic: Displaying binary data as "readable" such |
misi01
Replies: 3
Views: 1995
|
Forum: Database Posted: Thu May 16, 2024 5:04 am Subject: Displaying binary data as "readable" such |
I'm selecting data from a DB2 table that contains 2 binary fields. These fields (in reality) contain the equivalent of a DL/1 segment, so they can easily contain a mixture of character and COMP-3 fiel ... |
Topic: COBOL and SQL IS BINARY DB2 column |
misi01
Replies: 3
Views: 1921
|
Forum: Application Programming Posted: Mon May 13, 2024 6:21 am Subject: COBOL and SQL IS BINARY DB2 column |
The actual content of the binary fields is only used as a sort of placeholder.
The actual s/w package is intended to mask things like SSN values so they can't be tied to a "real" person.W ... |
Topic: COBOL and SQL IS BINARY DB2 column |
misi01
Replies: 3
Views: 1921
|
Forum: Application Programming Posted: Tue May 07, 2024 2:37 am Subject: COBOL and SQL IS BINARY DB2 column |
I'll answer my own question in case anyone else has the same problem (a colleague helped me).
The following can insert a row into a table
insert into TDRT3C0
values( 0 -- LOG_NR_ORDER
,0 ... |
Topic: COBOL and SQL IS BINARY DB2 column |
misi01
Replies: 3
Views: 1921
|
Forum: Application Programming Posted: Tue May 07, 2024 1:23 am Subject: COBOL and SQL IS BINARY DB2 column |
We have a DB2 table defined with a column defined as Binary (yes, completely new for me as well).
When the copybook is generated the resulting DB2 definition is
,DL1_SEGMENT BI ... |
Topic: Pros and cons of name-Value pair tables in DB2 |
misi01
Replies: 3
Views: 3487
|
Forum: Database Posted: Fri Mar 22, 2024 2:56 am Subject: Pros and cons of name-Value pair tables in DB2 |
So, reading 4 rows instead of 1, or did I misunderstand you?
To say it sounds inefficient must be an understatement.
How many times per day will it be read? |
Topic: Compiling Rexx scripts |
misi01
Replies: 10
Views: 4043
|
Forum: TSO and ISPF Posted: Sat Mar 02, 2024 3:02 am Subject: Compiling Rexx scripts |
I think you missed the bit where I wrote
as long as you don't try to actually use it
Not sure if want to compile the code using the NOCOMPILE option you mentioned.
I'm quite happy to see duplicat ... |
|