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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


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