IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Data type conversion issue


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Asif Iqbal

New User


Joined: 17 May 2005
Posts: 27
Location: Pune, India.

PostPosted: Tue Dec 19, 2006 5:26 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Dec 19, 2006 9:22 pm
Reply with quote

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
View user's profile Send private message
Asif Iqbal

New User


Joined: 17 May 2005
Posts: 27
Location: Pune, India.

PostPosted: Wed Dec 20, 2006 1:41 pm
Reply with quote

Yes Frank, your solution worked. That's what I wanted.

Thanks!




Asif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
Search our Forums:

Back to Top