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
 

 

Regarding EDIT option in Dfsort

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

New User


Joined: 06 Apr 2005
Posts: 10

PostPosted: Thu Apr 21, 2005 3:29 pm    Post subject: Regarding EDIT option in Dfsort
Reply with quote

Could you please explain the EDIT option in DFSORT, for example the following format:

EDIT=(SI,III,III,IIT.TTT),SIGNS=(,-),

Regards,

Devi.
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: Thu Apr 21, 2005 8:48 pm    Post subject:
Reply with quote

The EDIT option of DFSORT is fully explained in Chapter 3 of "z/OS DFSORT Application Programming Guide". Use this link:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA10/3.13?DT=20050222160456

then find the following:

p,m,f,edit

Explanation of your example:

EDIT=(SI,III,III,IIT.TTT),SIGNS=(,-),

SI,III,III,IIT.TTT is the edit pattern.

S indicates a sign.

I indicates a leading insignificant digit. If zero, this digit will not be shown.

T indicates a significant digit. If zero, this digit will be shown.

SIGNS gives the signs to use for S. In this case, blank is used as the leading sign for a positive value and - is used as the leading sign for a negative value.

The commas and period appear where shown.

Some examples:

Code:

Value (FS)         Editted as
+1234567890123      1,234,567,890.123
-1234567890123     -1,234,567,890.123
           +25                  0.025
      -5678901             -5,678.901
             0                  0.000
          -123                 -0.123
       +123456                123.456
Back to top
View user's profile Send private message
Suthandira

New User


Joined: 06 Apr 2005
Posts: 10

PostPosted: Fri Apr 22, 2005 9:59 am    Post subject: Re: Regarding EDIT option in Dfsort
Reply with quote

Hi Frank,

Thanks for ur Reply.

Regards,

Devi.
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 BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts How to get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts DFSORT sorting only specific records akodakka DFSORT/ICETOOL 4 Thu Aug 04, 2016 11:24 am


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