Need to format my REXX output

IBM's Command List programming language & Restructured Extended Executor
User avatar
Pedro
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Skillset: ISPF
Referer: google
Location: Silicon Valley

Re: Need to format my REXX output

Postby Pedro » Thu Oct 15, 2020 1:07 am

Sorry, I am not familiar with the data...


but based on your desired "I want it to look like" example, it looks like this stem variable has two columns of data in it and they do not seem to align well:

Code: Select all

contenuto = value(nome_colonna"."rows)


I think you should parse CONTENUTO into two variables and make sure they align better. Something like:

Code: Select all

contenuto = value(nome_colonna"."rows)
parse var contenuto  DA_jobname DA_cpupr
Say LEFT(DA_jobname,8) RIGHT(DA_cpupr,8,' ')
 
Pedro Vera

willy jensen
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: Need to format my REXX output

Postby willy jensen » Thu Oct 15, 2020 1:25 am

you might want to use the STRIP function to ensure no surrounding blanks.


  • Similar Topics
    Replies
    Views
    Last post