EDTWRD Keyword: Not displaying the left Braces

820 pts.
Tags:
AS/400
Hi, 
I created a file & Inserted few records .While running the file. It is not showing the left hand braces.Kindly look on the below lines & please let me know the reason & solution.
Physical File:
0001.00                 R PATTERN                                                   
0002.00                   NAME          10A                                         
0003.00                   SSN_ID_1       9S 0       EDTWRD('         ')             
0004.00                   SSN_ID_2      16S 0       EDTWRD('(    -    -    -    )') 
0005.00                   SSN_ID_3       9S 0       EDTWRD('   -  -    ')           
 
Output:
 
 Line   ....+....1....+....2....+....3....+....4....+
        NAME         SSN_ID_1               SSN_ID_2
 000001                         1516-5615-7170-5717)
 000002                         8175-6571-1281-8181)
 ****** ********  End of report  ********
unable to find the left brace on SSN_ID_2.
Thanks


Software/Hardware used:
iseries

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • philpl1jb

    This might work

    EDTWRD('0(    -    -    -    )') 

    Edit word will blank out leading characters and zero's unless there is a zero at the beginning of the string.

    50,165 pointsBadges:
    report
  • HABBIE
    Thanks philp. I can view the left braces now.
    820 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following