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 Chris Miller 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: *

  • Users: dr74
  • Order by date
  1. dr74

    move s9(4) to s9(4) comp problem

    Thanks for your help.
  2. dr74

    move s9(4) to s9(4) comp problem

    I found why it copied only two digits: The definition of WS02-D was: 01 WS02-INPUT. 03 WS02-D. 05 WS02-COMP PIC S9(4) COMP. So the destination in the move statement was a group level variable that similar to text. About the second problem I tried to compare the comp variable after...
  3. dr74

    move s9(4) to s9(4) comp problem

    In the displays I see 12 in both formats. I removed the IEFCOPY statement that expanded the variable from DB smallint to COBOL PIC S9(4) COMP and declared the variable as PIC S9(4) USAGE COMP. Now it shows me other values. Before that if I moved value 123 to this variable in the display I...
  4. dr74

    move s9(4) to s9(4) comp problem

    Hi folks, I have a program that calls a data layer with parameter that was received from thge JCL by ACCEPT statement: 01 WS01-TMP PIC 9(4). 01 WS02-INPUT. 03 WS02-D PIC S9(4) COMP. (SMALLINT IN THE DB TABLE) 01 WS03-OUTPUT. 03 ... ACCEPT WS01-TMP. DISPLAY 'WS01-TMP: ' WS01-TMP...

Part and Inventory Search

Back
Top