I'm 3 weeks into my mainframe training. The last excersize we had to do was to code IEBCOPY to allocate a data set. I don't have the code with me but I read SYSUTI1 to read an existing PD and SYSUTI2 to output it as a PDS.
I kept getting an error that I was using an unloaded data set. I am not sure I understand the concept.