I'm writing to a USS file from a batch REXX job and would like a more readable format then I'm getting. When I write my records it comes out as one long record and I'd like 80 byte records. I tried LRECL on the ALLOCATE, but that didn't seem to work. Here's my code:
"ALLOCATE FI(WSPNSSBG) PATH('/usps/etc/test.group'),
PATHOPTS(ORDWR,OCREAT,OEXCL,OTRUNC) PATHMODE(SIRWXU),
PATHDISP(KEEP,KEEP) LRECL(80)"
"EXECIO * DISKW WSPNSSBG (STEM SMSSBgrp."
"EXECIO * DISKW WSPNSSBG (STEM EASECgrp."
"EXECIO * DISKW WSPNSSBG (STEM UPDATEgrp. FINIS"
"FREE FI(WSPNSSBG)"
Thanks, Steve