I tried to import a CopyBook but some of the number field like below did not show up correctly.
The min size was set to 0 and max size was set to 1.
I am new in WTX (Version: 184.108.40.206) and wondering what is the correct setting for a value like this.
10 AMOUNT PIC Z,ZZZ,ZZ9.9999.
I have used the following but would like to ask the expert for a second opinion. Appreciate any help.
Item Subclass: NUMBER
-> Format: #[,]###.##
Pad: Yes -> Value: <SP>
->Decimal Min: 4
->Decimal Max: 4
->Whole Min: 1
SystemAdmin 110000D4XK6184 Posts
Re: CopyBook representation of NUMBER2013-01-03T18:12:25ZThis is the accepted answer. This is the accepted answer.
- JasonJava 110000KXX7
->Whole Min: 4 ->Whole Max: 4
I believe what you may want is:
->Whole Min: 1 -> The "9" to the left of the decimal point.
->Whole Max: 7 -> The "9" plus the 6 "Z"s
I almost never complete the "Whole" Places values so I'm no expert. I don't see too many requirements including formatting of whole digits. In a COBOL copybook formatted data, it's not like you are going to get more than 7 whole digits. Since you're padding with spaces, I don't see what purpose the Whole Places values serve.
Re: CopyBook representation of NUMBER2013-01-03T18:41:23ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
We are new to WTX and DataPower MQ CICS communication. The copybook is what mainframe person provided.