Author |
Message |
Topic: Parser for JCL |
bauer
Replies: 2
Views: 179
|
Forum: Job Control Language(JCL) Posted: Tue Jun 10, 2025 1:45 am Subject: Parser for JCL |
Hallo Kolusu,
thank you for your answer.
Yes, you are right - program invocation by IKJIFT01 with ISPSTART PGM ....., PROGRAM (....) PLAN (....) does noz work with any simple search.
Thus: W ... |
Topic: Parser for JCL |
bauer
Replies: 2
Views: 179
|
Forum: Job Control Language(JCL) Posted: Tue Jun 03, 2025 2:51 am Subject: Parser for JCL |
Hallo *,
I like to parse PO datasets containing JCL and like to retrieve lists with found datasets, programs etc. which are involved in the JCL.
Background: JCL should be deleted, including depe ... |
Topic: Callable RACF service IRRSEQ00 |
bauer
Replies: 0
Views: 1611
|
Forum: Application Programming Posted: Wed Mar 27, 2024 10:34 am Subject: Callable RACF service IRRSEQ00 |
Dear all,
does anybody have some PL/1 or Cobol sample how to call this RACF interface?
Background: I would like to do some evaluation from an CICS based Webservice transaction.
Thus the sol ... |
Topic: dynalloc dataset name |
bauer
Replies: 12
Views: 14186
|
Forum: Application Programming Posted: Wed Jun 22, 2022 1:52 pm Subject: dynalloc dataset name |
Hi *,
this PL/1 code snippet creates a new dataset, DSORG = PS, LRECL=80 in the zOS file system, writes one line and close the dataset. After execution the dataset is cataloged.
Details for all ... |
Topic: dynalloc dataset name |
bauer
Replies: 12
Views: 14186
|
Forum: Application Programming Posted: Wed Jun 22, 2022 9:59 am Subject: dynalloc dataset name |
Hallo,
I'm responding to my own post from 2007 (!!).
I used the last days my own coding to allocate a new PS file (never done the last years, always PO files). This PS file allocation with DISP= ... |
Topic: Different indexes for different partitions |
bauer
Replies: 4
Views: 5131
|
Forum: Database Posted: Mon Nov 15, 2021 11:16 am Subject: Different indexes for different partitions |
Spolacek,
your links, remarks according "detach partition" seems to be for DB2 LUW, right?
This does not work for DB2 zOS, my impression.
For deleting all records in one partition ... |
Topic: Convert rows with numbers to string with flags |
bauer
Replies: 15
Views: 12138
|
Forum: Database Posted: Mon Aug 23, 2021 11:35 am Subject: Convert rows with numbers to string with flags |
kolusu,
sorry for my late feedback.
First of all thank you for your time.
Yes, this obviously works. My solutuion with the additional table and the left outer join might be easier to under ... |
Topic: Convert rows with numbers to string with flags |
bauer
Replies: 15
Views: 12138
|
Forum: Database Posted: Thu Aug 19, 2021 3:58 pm Subject: Convert rows with numbers to string with flags |
Hi kolusu,
my impression is: This does not work.
See the discussed sample above: YNYNN << "B" has 1 and 3
How is this generated?
The provided SQL pads from the left so ... |
Topic: Convert rows with numbers to string with flags |
bauer
Replies: 15
Views: 12138
|
Forum: Database Posted: Thu Aug 19, 2021 11:39 am Subject: Convert rows with numbers to string with flags |
kolusu,
yes, you are right about the expected result. Your idea with the SUM operator is great, looks pretty good.
But: In my sample I used 5 digits, 5 possible values. The real SQL should han ... |
Topic: Convert rows with numbers to string with flags |
bauer
Replies: 15
Views: 12138
|
Forum: Database Posted: Thu Aug 19, 2021 1:30 am Subject: Convert rows with numbers to string with flags |
Hallo *,
this documentation
https://www.ibm.com/docs/en/db2-for-zos/12?topic=functions-listagg
says, that LISTAGG function works with required function level FL 501.
bauer |
Topic: Convert rows with numbers to string with flags |
bauer
Replies: 15
Views: 12138
|
Forum: Database Posted: Thu Aug 19, 2021 1:18 am Subject: Convert rows with numbers to string with flags |
Hallo kolusu,
thank you for asking again.
The allocation of the tables should be clear.
Table MySchema.SUPPORT contains all valid numbers from 1 up to MAX_allowed_value. In the sample 5. The ... |
Topic: Convert rows with numbers to string with flags |
bauer
Replies: 15
Views: 12138
|
Forum: Database Posted: Wed Aug 18, 2021 4:50 am Subject: Convert rows with numbers to string with flags |
Hi Kolusu,
thank you for your answer - but this is not 100% the situation, see my sample.
There might be expected results like 'YNYNN' (or more digits like 'NNNNNNNY......) .
This means: ... |
Topic: Convert rows with numbers to string with flags |
bauer
Replies: 15
Views: 12138
|
Forum: Database Posted: Tue Aug 17, 2021 1:13 pm Subject: Convert rows with numbers to string with flags |
Ok, using a support table which contains all numbers from MINVALUE up to MAXVALUE this solution works.
CREATE TABLE MYSCHEMA.ORIGINAL
(F1 SMALLINT, F2 CHAR(1));
CREAT ... |
Topic: Convert rows with numbers to string with flags |
bauer
Replies: 15
Views: 12138
|
Forum: Database Posted: Tue Aug 17, 2021 11:27 am Subject: Convert rows with numbers to string with flags |
Hi,
I have a table something like this:
Field1 Field2
------------------
A 1
B 1
B 3
C 3
Field2 is limited from 1 (minvalue) to lets say 5 (max ... |
Topic: Compress memory area from PL/1 application program |
bauer
Replies: 4
Views: 4967
|
Forum: Application Programming Posted: Tue Aug 17, 2021 11:13 am Subject: Compress memory area from PL/1 application program |
Well, I try to reduce the size of memory (ZIP) before for example sending the data .....,
thank you for asking.
But we have implemented a other solution now for the complete problem. |
|