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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm


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