Page 1 of 1

soc7 error

Posted: Thu Jan 22, 2009 9:58 am
by krishnaveni
hi every one , i got soc7 error when i tried to move a comp-3 variable to a non comp-3 variable ?





edited by dbz.

Posted: Thu Jan 22, 2009 10:31 am
by Natarajan
Welcome to mainframegurukul.com.

Please delete your first two post which does not contain any matter.

Regarding your question on s0c7 - program gives S0C7 error when there is
invalid value in COMP-3 field. please check comp-3 field might contain invalid data.

Posted: Thu Jan 22, 2009 11:03 am
by Anuj Dhawan
Hello,

What's the definition of "non comp-3 variable" - Alphanumeric, Numeric(99) ?

non comp-3 variable

Posted: Thu Jan 22, 2009 11:48 am
by krishnaveni
the non comp-3 variable which i used is numeric.

thank you anuj

Posted: Fri Jan 23, 2009 4:12 pm
by dbzTHEdinosauer
the sending field should be interrogated with an:

Code: Select all

IF COMP-3-FIELD NUMERIC
THEN
      MOVE ::::
ELSE
     PERFORM INVALID-COMP-3-FIELD-DATA
END-IF