Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
PostPosted: Thu Apr 21, 2005 3:29 pm    Post subject: Re: Regarding EDIT option in Dfsort Reply with quote

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 4236
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1