View previous topic :: View next topic
|
Author |
Message |
Asif Iqbal
New User
Joined: 17 May 2005 Posts: 27 Location: Pune, India.
|
|
|
|
Hi,
When I use " TO=ZD " or " TO=PD " in any OUTREC, ex:
OUTREC FIELDS=(1:3,6,7:C'0',TO=PD,LENGTH=1)
I am getting " OPERAND DEFINER ERROR ".
Is this due to older version of DFSORT or I am doing any mistake.
We have 'DFSORT REL 14.0'
Thanks,
Asif |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
You're not using TO=PD correctly. You can't use TO=PD after a character constant like that. I'm guessing that you want to create a 1-byte PD constant of 0. If so, the correct syntax is:
Code: |
OUTREC FIELDS=(1:3,6,7:+0,TO=PD,LENGTH=1)
|
If that's not what you want to do, then tell me exactly what you want to do. |
|
Back to top |
|
|
Asif Iqbal
New User
Joined: 17 May 2005 Posts: 27 Location: Pune, India.
|
|
|
|
Yes Frank, your solution worked. That's what I wanted.
Thanks!
Asif |
|
Back to top |
|
|
|