Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7088439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:48:04+00:00 2026-05-28T07:48:04+00:00

I have a mapping from xml schema(number) to copybook, copybook field is a number

  • 0

I have a mapping from xml schema(number) to copybook, copybook field is a number PIC S9(03). If my input xml element is 67, it is getting transformed to 06G. If the input is 65, getting transformed to 06E, in copybook. 14 to 01D, 15 to 01E. -14 to 01M, -15 to 01N. We are not getting the logic how this is trnsformed like this. We would need to perform a similar operation in the response, that is converting 01N to -15, using xml(not sure how we can do this)

EDIT

if the copybook(PICS9 03) contains (f1 f6 c4 – in hex), in xml it should be converted to 164, c stands for positive. However I see my xml element as 14R, which is the ascii display for f1 f6 c4. How should I define my xml element? Currently it is defined as integer.

EDIT

Another option – Is it possible using xslt to transform an xml element which has “14R” to the number +164, same example in the above

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:48:05+00:00Added an answer on May 28, 2026 at 7:48 am

    F1 F6 C4 points to an IBM EBCDIC encoding. With S9(03), the numbers are actually shown in display format (the code for the character ‘1’ is 0xF1, similar to how in ASCII ‘1’ is 0x31 ). The twist is in the S which means signed; take a look at this link, search for the word “nibble” and you’ll get your answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In C# I have a use case where I have a mapping from int
I have a situation where I want to create a mapping from a tuple
I used the mapping solution from this question to have a joined component. But
Long story short : when mapping XML, is it better to have complex types
If you have a Java object and an XML schema (XSD), what is the
I have an xsd document that starts with: <?xml version=1.0 encoding=UTF-8?> <xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema> <xs:import
I have an XML file and I'm inferring its XSD schema in run-time, using
I have a mapping application that needs to draw a path, and then display
I would like to have a mapping which maps two string into one string.
I have a class ClassA mapped to TableA. I also have a mapping for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.