09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Invoking from Programbytes) with a physical sequential organization. The processor does not test <strong>for</strong>the existence of the data set, except <strong>for</strong> the REPRO command withOUTDATASET.2. The user must know the data <strong>for</strong>mat so that the routine can be coded <strong>for</strong> thecorrect type of input and <strong>for</strong>mat the correct type of output.3. Each user routine must handle errors encountered <strong>for</strong> data sets it is managingand provide a return code to the processor in register 15. The processor usesthe return code to determine what it is to do next.The permissible return codes are:Code Meaning0(0) Operation successful.4(4) End of data <strong>for</strong> a GET operations.8(8) Error encountered during a GET/PUT operation, but continueprocessing.12(C) Error encountered during GET/PUT operation; do not allow anyfurther calls (except CL<strong>OS</strong>E) to this routine.Figure 32 on page 429 shows the argument list used in communication between theuser I/O routine and the access method services processor. The user I/O routine isinvoked by the processor <strong>for</strong> OPEN, CL<strong>OS</strong>E, GET, and PUT routines.428 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!