1.

What Is Writeblock(), Readblock(), Unreadblock() Function?

Answer»

WRITEBLOCK() : The writeblock function writes the data contained in the argument of a string variable to the output file. The readblock and writeblock functions are used together to pass a block of data from the INPUT file to the output file without compliance CHECKING or testing for proper EDI syntax.

Readblock(): The readblock function reads a block of data (segment or RECORD) from the input file and PLACES it into the argument of a string variable. The readblock and writeblock functions are used in conjunction with each other to pass a block of data from the input file to the output file without compliance checking or testing for proper EDI syntax. Together, these functions provide a more efficient alternative of using wildcard segments, which are typically implemented in build and break maps.

Unreadblock() : The unreadblock function provides a method of moving the input file-pointer back one block (a block of data is equivalent to one EDI segment or one positional record). This function "unreads" the block of data that was just processed by the readblock function.

Writeblock() : The writeblock function writes the data contained in the argument of a string variable to the output file. The readblock and writeblock functions are used together to pass a block of data from the input file to the output file without compliance checking or testing for proper EDI syntax.

Readblock(): The readblock function reads a block of data (segment or record) from the input file and places it into the argument of a string variable. The readblock and writeblock functions are used in conjunction with each other to pass a block of data from the input file to the output file without compliance checking or testing for proper EDI syntax. Together, these functions provide a more efficient alternative of using wildcard segments, which are typically implemented in build and break maps.

Unreadblock() : The unreadblock function provides a method of moving the input file-pointer back one block (a block of data is equivalent to one EDI segment or one positional record). This function "unreads" the block of data that was just processed by the readblock function.



Discussion

No Comment Found