Add zero padding to string in JCL -
in jcl, how add "0" padding string string length 10? using tssutil v3 tool jcl.
if input "10541", 5 padding added = 0000010541
here's how sort product, if can't solution tssutil:
//step001 exec pgm=sort //sortin dd * 24567 1456 47865 24875 1 //sortout dd sysout=* //sysin dd * option copy inrec build=(1,10,uff,m11,length=10) //sysout dd sysout=*
output
0000024567 0000001456 0000047865 0000024875 0000000001
Comments
Post a Comment