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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. petertmartin

    How is a singned numeric represented ina fixed-length file?

    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?
  2. petertmartin

    How is a singned numeric represented ina fixed-length file?

    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...
  3. petertmartin

    How is a singned numeric represented ina fixed-length file?

    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...
  4. petertmartin

    How is a singned numeric represented ina fixed-length file?

    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).
  5. petertmartin

    How is a singned numeric represented ina fixed-length file?

    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...
  6. petertmartin

    How is a singned numeric represented ina fixed-length file?

    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...

Part and Inventory Search

Back
Top