Thanks, one last question (hopefully), if the "SIGN IS LEADING SEPARATE CHARACTER" was omitted from the copybook would the ASCII record still look the same?
Ok, I am not doing very well here, assuming I have the following copybook what would the corresponding ASCII fixed-length record look like (I have included some test data below)?
All I want to do in Java is write an ASCII fixed-length record that a COBOL programmer can load into the copybook...
We develop Internet-based applications that are written in J2EE and run on WebSphere Application Server. Typically the J2EE application uses MQSeries to communicate with the mainframe (zSeries) via IMS.
The J2EE application accepts data as XML, the programmer will convert the XML document to a...
Thanks for all your replies. However, this might be me just being thick, but, I still don't understand what format a signed numeric is in an ASCII flat file that represents a copybook record (assuming my terminology is correct).
In my original question, the fixed-length message is ASCII. I have no idea about ASCII to EBCDIC conversion, all I wanted to understand was how I a positive and negstive value would be represented in an ASCII fixed-length field if the copybook item is defined as follows:
01 TEST1 PIC...
We are looking at passing data as a fixed-length message (via MQSeries) to a COBOL copybook on the mainframe.
If I have a simple copybook e.g.
01 TEST1 PIC S9999V99.
How is the sign represented? Am I correct in assuming -10.00 would be -001000 and +10.00 would be +001000...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.