Read adabas file from natural


I have a requirement which is to read adabas (PDS) file without submitting batch job.

Waiting for prompt reply.


Do you mean other than with READ (PHYSICAL, LOGICAL, or BY ISN)?


or are you asking how to read a PDS (member of a zOS dataset)? reading whichever file from TSO or CICS or COM-PLETE?

Hi Douglas,

Ya u r corect, I want to read a member of PDS (file from TSO). Can you suggest the way without submitting JCL?

Allocate it as a work file, either from the CLIST starting Natural or use the dynamic allocation interface subprogram from library SYSEXT to allocate the workfile dynamically, then read it using the workfile access constructs the Natural language provides.