Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 LE Modules in Link Edit John Poulakos COBOL Programming 1 Sat Apr 28, 2018 12:14 am
No new posts Need urgent suggestion on DFSORT subratarec DFSORT/ICETOOL 6 Wed Mar 21, 2018 8:46 pm
No new posts VALIDATE option in BIND jcl Poha Eater DB2 2 Mon Feb 26, 2018 7:08 pm
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us