US 12,430,127 B1
Vector test decimal instruction for validity testing
Michael Klein, Schoenaich (DE); Kerstin Claudia Schelm, Stuttgart (DE); Petra Leber, Ehningen (DE); Andreas Wagner, Wildberg (DE); Bruce Conrad Giamei, Lagrangeville, NY (US); Timothy Slegel, Staatsburg, NY (US); Jonathan D. Bradbury, Poughkeepsie, NY (US); Reid Copeland, Ontario (CA); and Xin Guo, Toronto (CA)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed on Mar. 27, 2024, as Appl. No. 18/618,564.
Int. Cl. G06F 9/30 (2018.01)
CPC G06F 9/30007 (2013.01) [G06F 9/30003 (2013.01); G06F 9/30036 (2013.01); G06F 9/30076 (2013.01); G06F 9/30094 (2013.01)] 24 Claims
OG exemplary drawing
 
1. A computer program product for facilitating processing within a computing environment, the computer program product comprising:
a set of one or more computer readable storage media; and
program instructions, collectively stored in the set of one or more computer readable storage media, for causing at least one computing device to perform the following computer operations including:
executing an instruction to perform validity testing of a source value, the executing the instruction including:
obtaining the source value using at least one field of the instruction;
obtaining a plurality of test controls using a field of the instruction, wherein one or more test controls of the plurality of test controls are used to specify which digit positions of the source value are to be tested for validity and what codes are valid codes for the digit positions specified to be tested;
performing validity testing of at least a portion of the source value based on the plurality of test controls obtained using the field of the instruction, wherein the performing the validity testing provides a result; and
providing the result for use in further processing.