How to receive special characters in CICS pgm

About CICS and BMS - In this Mainframe Forum - You can post your queries on CICS

Moderators: DikDude, Natarajan, Moderator Group

Post Reply
Poongodi
Member
Posts: 5
Joined: Wed May 02, 2012 2:52 pm
Location: Chennai

How to receive special characters in CICS pgm

Post by Poongodi » Fri Dec 28, 2012 3:16 pm

I wnat to receive and process cap symbol "^" from socket through CICS program. When input data has cap sysmbol, am receiving it as space. But am able to receive other special characters (-,?,/,&,* etc.,) from socket. Please let me know if there is any compiler option that can support this cap symbol.
Thanks,
Poongodi

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Sun Dec 30, 2012 4:22 am

It is not a 'cap' symbol, it is a caret. You will need to check out the code pages being used along the line to make sure that the data is being transferred correctly. What you see as a space may not be a space - have you checked it with 'HEX ON'?
Regards
Nic

Poongodi
Member
Posts: 5
Joined: Wed May 02, 2012 2:52 pm
Location: Chennai

Post by Poongodi » Mon Dec 31, 2012 1:37 pm

Ya i checked it with 'hex on'; it is received as space only...
Thanks,
Poongodi

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Dec 31, 2012 10:13 pm

Then you need to do as suggested and verify which codepage(s) are being used throughout the process.

At which point do you first "see" the space? It has probably already been changed before it gets to your code.

You might want to talk with your CICS or network people as their input may be needed.
Have a good one

Poongodi
Member
Posts: 5
Joined: Wed May 02, 2012 2:52 pm
Location: Chennai

Post by Poongodi » Wed Jan 02, 2013 11:17 am

Thanks for your help!
Thanks,
Poongodi

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others