IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

In DFSORT OUTREC what is SIGNS=(,,+,-)


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sathish_rathinam

New User


Joined: 22 Aug 2005
Posts: 59
Location: india

PostPosted: Fri Oct 21, 2005 10:03 am
Reply with quote

hi,


OUTFIL FILES=(2,3),

OUTREC =(11:55,6,FS,SIGNS=(,,+,-),LENGTH=10,
31:(41,4,PD),EDIT=(**II,TTT,TTXS),SIGNS=(,,+,-))

In the above statement plz explain me why SIGNS=(,,+,-) is being used....

regards,
sathish
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Oct 21, 2005 3:06 pm
Reply with quote

This SIGN=(,,+,-) denotes that after EDITING you want to have a + sign for positive values & a - sign for negative values, at TRAILING of record.

Check manual for more info on same.

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ice1cg10/2.4.8?DT=20050223112358

Regards,

Priyesh.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Sun Oct 23, 2005 9:07 pm
Reply with quote

For DFSORT, the syntax for the SIGNS parameter is

SIGNS=(lp,ln,tp,tn)

where lp specifies the leading positive sign, ln specifies the leading negative sign, tp specifies the trailing positive sign and tn specifies the trailing negative sign.

For:

EDIT=(**II,TTT,TTXS),SIGNS=(,,+,-))

The S in EDIT indicates a trailing sign. The + in SIGNS is the trailing positive sign and the - is the trailing negative sign. Since there's no leading sign in the edit mask, the leading positive and negative signs are skipped by specifying commas for them.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
No new posts DFSORT - VB file RDW getting overridden DFSORT/ICETOOL 3
Search our Forums:

Back to Top