Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Data type conversion issue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Data type conversion issue
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 Moderator


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

PostPosted: Tue Dec 19, 2006 9:22 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us