Hi,
I have 2 requests:
1) Below is my outrec statement.
I am getting syntax error at the second 'PD' . i am not able to figure what went wrong. can anyone help
I tried giving 'M4' instead of TO=ZD, still getting syntax error.
2) I need to append spaces to my output file. i.e starting from 116 posistion for 185 length i need spaces
I gave in the above outrec statment the last line as
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
You seem to be coding n, instead of n: in many cases. For example, instead of:
45,362,9,PD,TO=ZD,LENGTH=14,
you most likely want:
45:362,9,PD,TO=ZD,LENGTH=14,
45:362,9,PD,... is valid because it has an output column (45:) followed by p,m,f (362,9,PD). 46,362,9,PD is invalid.
116:185X) will also work.
I'd show you how to fix it all up but I can't really tell what you want. You have:
Code:
OUTREC FIELDS=(1:1,2,C'22',
3,130,8,
That would put C'22' in output positions 3 and 4, so you couldn't use 3:130,8, since the next item must start at position 5 or greater. You could use 5:130,8, but you'll need to fix the subsequent output positions as well.