KB Article #180375

What are CFT' operation steps to allocate and rename a file

Problem

How CFT is allocating a file


How CFT is renaming a file


How CFT gets the GDG version (absolute name) from the relative information

Resolution

For this kind of CFTRECV, with a FNAME=GDG(+1) and WFNAME, CFT operation steps are described below:



CFTRECV ID = 'TFIDGDG',
FNAME = 'CFTWRK.QA.GDGSAMP(+1)',
WFNAME = 'CFTWRK.TMP.&IDTU',



1. Receive on WFNAME
2. Partrel on WFNAME
3. Enq SYSDSN on GDG root : CFTWRK.QA.GDGSAMP
4. Get GDG version G..V.. (for GDS) (via CAMLST locate svc 26)
5. CAMLST locate svc 26 on WFNAME
6. Enq SYSDSN on WFNAME
7. Rename SVC 30 (1E RENAME CAMLST)
8. Deq on SYSDSN on WFNAME
9. Deq on SYDSN on GDG root