Hi All,
I would like to split my DB2 results with a page breaker like below. Could you please help me find the syntax.
Current Result:
Column_1 Column_2 column_3
----------+-------------+-------------+--------
Value_1 value_2 value_3
New result expected:
Column_1 Column_2
----------+-------------+--
Value_1 value_2
Column_3
-------------+
Value_3
Splitting DB2 results
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Splitting DB2 results
You have been here long enough to know to use the code tags when posting data and code.
DB2 is a storage and retrieval mechanism not a programming language. You want your data formatted? Get your program to do that. It is much more efficient.
DB2 is a storage and retrieval mechanism not a programming language. You want your data formatted? Get your program to do that. It is much more efficient.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 4924
-
by chaat
View the latest post
Thu Jan 28, 2021 12:09 am