I am facing issue while parsing a file with length 10 bytes. Please find below the details.
Input file data
01.40
05.40
05
0
10000
123
1.14
05.40
05
0
10000
123
1.14
My intention is to reformat the data as per below
Expected Output:
Command ===>
****** ************
000001 01.40
000002 05.40
000003 05
000004 0
000005 10000
000006 123
000007 1.14
****** ************
****** ************
000001 01.40
000002 05.40
000003 05
000004 0
000005 10000
000006 123
000007 1.14
****** ************
//TOOLIN DD *
COPY FROM(INFILE) TO(OUTFILE) USING(CTL1)
/*
//CTL1CNTL DD *
INREC PARSE=(%0=(ENDBEFR=C' ',FIXLEN=9),
BUILD=(%0)
/*
COPY FROM(INFILE) TO(OUTFILE) USING(CTL1)
/*
//CTL1CNTL DD *
INREC PARSE=(%0=(ENDBEFR=C' ',FIXLEN=9),
BUILD=(%0)
/*
Issue details:"
ICE000I 0 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R12 - 08:27 ON TUE JU
INREC PARSE=(%0=(ENDBEFR=C' ',FIXLEN=9),
BUILD=(%0)
$
ICE243A F PARSED FIELD DEFINITION ERROR
ICE146I 0 END OF STATEMENTS FROM CTL1CNTL - PARAMETER LIST STATEMENTS FOLLOW
DEBUG NOABEND,ESTAE
OPTION MSGDDN=DFSMSG,LIST,MSGPRT=ALL,RESINV=0,SORTDD=CTL1,SORTIN=INFIL
,SORTOUT=OUTFILE,DYNALLOC
SORT FIELDS=COPY
INREC PARSE=(%0=(ENDBEFR=C' ',FIXLEN=9),
BUILD=(%0)
$
ICE243A F PARSED FIELD DEFINITION ERROR
ICE146I 0 END OF STATEMENTS FROM CTL1CNTL - PARAMETER LIST STATEMENTS FOLLOW
DEBUG NOABEND,ESTAE
OPTION MSGDDN=DFSMSG,LIST,MSGPRT=ALL,RESINV=0,SORTDD=CTL1,SORTIN=INFIL
,SORTOUT=OUTFILE,DYNALLOC
SORT FIELDS=COPY
Can anyone help me in this regard. Thanks in advance
Code'd