A computer-implemented method comprising: obtaining a vector instruction for execution, the vector instruction to perform a sign operation of a plurality of sign operations configured by the vector instruction; and executing the vector instruction, the executing characterised as including: selecting at least a portion of an input operand as a result to be placed in a select location, the selecting being based on a control of the vector instruction, the control of the vector instruction indicating a user-defined size of the portion of the input operand to be selected as the result; determining a sign code of the result based on a plurality of criteria, the plurality of criteria including a sign operation (342, 400) selected to be performed; a sign of the input operand; a value of the result obtained based on the control of the vector instruction (612, 616) having a first particular relationship or a second particular relationship with respect to zero, wherein the first particular relationship is equal and the second particular relationship is not equal; and a positive sign code control (344, 406) that controls how a positive sign code is to be encoded; and storing the result and the sign code in the select location to provide a signed output to be used in processing within the computing environment. obtaining a vector instruction for execution, the vector instruction to perform a sign operation of a plurality of sign operations configured by the vector instruction; and executing the vector instruction, the executing characterised as including: selecting at least a portion of an input operand as a result to be placed in a select location, the selecting being based on a control of the vector instruction, the control of the vector instruction indicating a user-defined size of the portion of the input operand to be selected as the result; determining a sign code of the result based on a plurality of criteria, the plurality of criteria including a sign operation (342, 400) selected to be performed; a sign of the input operand; a value of the result obtained based on the control of the vector instruction (612, 616) having a first particular relationship or a second particular relationship with respect to zero, wherein the first particular relationship is equal and the second particular relationship is not equal; and a positive sign code control (344, 406) that controls how a positive sign code is to be encoded; and storing the result and the sign code in the select location to provide a signed output to be used in processing within the computing environment. selecting at least a portion of an input operand as a result to be placed in a select location, the selecting being based on a control of the vector instruction, the control of the vector instruction indicating a user-defined size of the portion of the input operand to be selected as the result; determining a sign code of the result based on a plurality of criteria, the plurality of criteria including a sign operation (342, 400) selected to be performed; a sign of the input operand; a value of the result obtained based on the control of the vector instruction (612, 616) having a first particular relationship or a second particular relationship with respect to zero, wherein the first particular relationship is equal and the second particular relationship is not equal; and a positive sign code control (344, 406) that controls how a positive sign code is to be encoded; and storing the result and the sign code in the select location to provide a signed output to be used in processing within the computing environment.