I understand the purpose of OUTREC .But I am not sure as to what EDIT= and SIGNS= are for ?
I have a rough Idea that they are being used for Editing but not clear on what excatly Editing will be done.If someone,Could illustrate me the use of EDIT= & SIGNS= clause with an Example,it would be great..
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Code:
EDIT=(STTTTTTTTTTTT.TT),SIGNS=(,-,,)
The EDIT and SIGNS pattern shown here tells DFSORT that you want your converted PD numbers to have a blank sign for plus or a '-' sign for minus followed by 15 decimal digits, with leading zeros, when appropriate and a decimal point before the last two digits. Here are some examples of how various values will be edited:
Code:
PD value Editted value
+1 000000000000.01
-1234 -000000000012.34
+123456 000000001234.56
-99999 -000000000999.99
+1234567890 000012345678.90
Many Thanks Yaeger for your Prompt response.
The EDITS= clause maening is very clear to me now.Also I checked the IBM website where various Comphrensive possibilities on EDIT= clause have been specified.
But while looking for SIGNS= Clause,I found it has following format
SIGNS=(a,b,c,d)
I believe b is for '-' clause
What are a,c,d for ? I couldnot find this.
If you please let me know your suggestions on this,It would be great.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
SIGNS=(a,b,c,d)
The S for sign can be on the left (leading sign), on the right (trailing sign) or on both the left and right (leading and trailing sign). a is the leading plus sign, b is the leading minus sign, c is the trailing plus sign, and d is the trailing minus sign. For example: