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
 

 

OUTREC with EDIT command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
shanmugapriya j

New User


Joined: 28 Dec 2006
Posts: 9
Location: chennai

PostPosted: Fri Aug 21, 2009 12:56 pm    Post subject: OUTREC with EDIT command
Reply with quote

When I use the EDIT for the decimal values conversion
SORT FIELDS=COPY
OUTREC OVERLAY=(1:5,5,PD,EDIT=(STTTT.TT),SIGNS=(,-))
/*
The output results:
The decimal value (0.30) is displaying as (30). Can anyone help on this
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2180
Location: @my desk

PostPosted: Fri Aug 21, 2009 1:13 pm    Post subject:
Reply with quote

Please post the HEX form of your 5 byte PD field.
Back to top
View user's profile Send private message
shanmugapriya j

New User


Joined: 28 Dec 2006
Posts: 9
Location: chennai

PostPosted: Fri Aug 21, 2009 2:16 pm    Post subject:
Reply with quote

The hex on Form of value 30 is

00000
0003C
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: Fri Aug 21, 2009 9:32 pm    Post subject:
Reply with quote

Quote:
The decimal value (0.30) is displaying as (30). Can anyone help on this

00000
0003C


Huh? When I run your DFSORT statements with that input, I get the following output:

0000.30

So what do you mean its displaying as 30?

Note that PD value is actually stored as 30 and YOU are using the edit mask to interpret it as .30.
Back to top
View user's profile Send private message
shanmugapriya j

New User


Joined: 28 Dec 2006
Posts: 9
Location: chennai

PostPosted: Mon Aug 24, 2009 5:59 pm    Post subject:
Reply with quote

Thanks its working I have used
OUTREC OVERLAY=(1:5,5,PD,EDIT=(SIIII.II),SIGNS=(,-))
instead of OUTREC OVERLAY=(1:5,5,PD,EDIT=(STTTT.TT),SIGNS=(,-))

Didn't use trailing zero thats the reason. Now it is perfect,

Thanx for your help
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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts SORT- outrec ram_vizag DFSORT/ICETOOL 10 Tue Sep 27, 2016 12:50 am


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