please help me to fix this issue,
PUSH NEXTFILE , 'DCLGEN ' , LINE_COUNT , COMP
"EXECIO DISKW 1 OUTDD"
here NEXTFILE -> variable with dynamic length (xxx.yyy.zzz(mem1)),(xxx.yyy.zzz(memb2))
DCLGEN -> constant string
LINE_COUNT -> Variable with dynamic length(1234),(123)
COMP -> Variable with dynamic length (complex),(simple)
so when I view the report, it was like,
xxx.yyy.zzz(mem1) dclgen 1234 complex
xxx.yyy.zzz(memb2) dclgen 123 simple
actually I want to have report with constant alignment , like
xxx.yyy.zzz(mem1) {5space} dclgen {5space} 1234 {5space} complex
xxx.yyy.zzz(memb2){4space} dclgen{5space} 123 {6space} simple
Eventhough the length of dynamic variable varies ,I want to start the next string at constant position.
is this possible?
how to fix misalignment in output dataset using rexx?
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: how to fix misalignment in output dataset using rexx?
Certainly, see the LEFT function in the manual. And CENTER and RIGHT for other alignments.
Re: how to fix misalignment in output dataset using rexx?
Thank you willy Jensen 
it worked..

it worked..
-
- Similar Topics
- Replies
- Views
- Last post
-
- 11
- 3688
-
by willy jensen
View the latest post
Thu Oct 15, 2020 1:25 am
-
-
Output of rexx is coming in UPPER Case only
by arya_starc » Thu Jan 12, 2023 3:41 pm » in CLIST & REXX - 4
- 2381
-
by sergeyken
View the latest post
Fri Jan 13, 2023 1:44 am
-
-
- 3
- 2780
-
by willy jensen
View the latest post
Tue Jun 29, 2021 1:36 pm
-
- 2
- 2275
-
by Pedro
View the latest post
Tue Feb 27, 2024 4:44 am
-
-
CICS program output different when ran using CEDF.
by rogerstrycova » Sun Oct 03, 2021 4:52 pm » in CICS - 2
- 1561
-
by Robert Sample
View the latest post
Sun Oct 03, 2021 8:22 pm
-