Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conversion decimal DEC(18,2) to EBCDIC format with leading sign

Status
Not open for further replies.

Parnwad

Programmer
Feb 7, 2009
1
Hi all,

in our project we have to create a flate file in EBCDIC format from PowerCenter via PowerExchange. In normal case I use the data type UZONED for DECIMAL value. My problem is that I have to write a leading sign for DECIMAL value. I tryed with data type ZONED which is allowing sign. But the sign will be placed at the end and with undefined character "{".

Ex: 000000000000000000{ ==>+000000000000000000

Should I define the leading sign in the copybook like S9(16)V9(2) or is there another option I don't know.

Many thanks in advance.

Best Regards

Parnwad
 
You can refer my thread which i posted from converting signed over punch values, which may be helpful for you.

And refer overpunch

the above site which may also help u.

And the thread is " converting .c3 values.......
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top