Page 2 of 2

Re: Need to format my REXX output

PostPosted: Thu Oct 15, 2020 1:07 am
by Pedro
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:
contenuto = value(nome_colonna"."rows)


I think you should parse CONTENUTO into two variables and make sure they align better. Something like:
contenuto = value(nome_colonna"."rows)
parse var contenuto  DA_jobname DA_cpupr
Say LEFT(DA_jobname,8) RIGHT(DA_cpupr,8,' ')
 

Re: Need to format my REXX output

PostPosted: Thu Oct 15, 2020 1:25 am
by willy jensen
you might want to use the STRIP function to ensure no surrounding blanks.