Pack ASCII zSeries instructions
AssigneeInternational Business Machines Corporation
InventorsAntonisamy A. Rajendran, Muruganandam Somasundaram
Life of this patent
Estimating the term…
Abstract
ASCII input data to be packed into memory is obtained. The ASCII input data includes a plurality of blocks of ASCII data. wherein each block of ASCII data includes a plurality of ASCII characters. A block of ASCII data to he packed is selected. The selected block is chosen from the plurality of blocks of ASCII data and includes a plurality of bytes of data. One or more operations are performed on the selected block of ASCII data to obtain a plurality of bytes of packed data. The selecting and the performing are repeated one or more times for a next selected block to obtain a packed array for the input data.
Claims20
A computer program product for packing data, said computer program product comprising:
- a storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
- obtaining ASCII input data to be packed into memory, said ASCII input data comprising a plurality of blocks of ASCII data, wherein each block of ASCII data comprises a plurality of ASCII characters;
- selecting a block of ASCII data to be packed, said selected block chosen from the plurality of blocks of ASCII data and comprising a plurality of bytes of data;
- performing one or more operations on the selected block of ASCII data to obtain a plurality of bytes of packed data;
- and
- repeating the selecting and the performing for a next selected block, one or more times, to obtain a packed array for the input data.
A computer system for packing data, said computer system comprising:
- a memory;
- and
- a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising:
- obtaining ASCII input data to be packed into memory, said ASCII input data comprising a plurality of blocks of ASCII data, wherein each block of ASCII data comprises a plurality of ASCII characters;
- selecting a block of ASCII data to be packed, said selected block chosen from the plurality of blocks of ASCII data and comprising a plurality of bytes of data;
- performing one or more operations on the selected block of ASCII data to obtain a plurality of bytes of packed data;
- and
- repeating the selecting and the performing for a next selected block, one or more times, to obtain a packed array for the input data.
A method for packing data, said method comprising:
- obtaining, by a processor, ASCII input data to be packed into memory, said ASCII input data comprising a plurality of blocks of ASCII data, wherein each block of ASCII data comprises a plurality of ASCII characters;
- selecting, by the processor, a block of ASCII data to be packed, said selected block chosen from the plurality of blocks of ASCII data and comprising a plurality of bytes of data;
- performing, by the processor, one or more operations on the selected block of ASCII data to obtain a plurality of bytes of packed data;
- and
- repeating the selecting and the performing for a next selected block, one or more times, to obtain a packed array for the input data.
Dependencies are inferred from the claim text.