2) you should define a file as length 80 (file section)
the write JCL statement to it (in procedure division) to this file.
(don't forget to declare you output record as 80)
1) can u be clearer ?
here is an answer from what I understand :
just define then as in a normal pgm.
2) If you plan on executing the JCL built in the pgm you shouls write it to an 80 byte dataset defined as //... DD SYSOUT=(,INTRDR).
3) The pointer feature is used to manage linked lists. You can read about this in the Reference Mdtendulkar gave you. A more popular use of the feature is to navigate system control blocks to access system info like ds names, step/job names, dataset info, JES info and the like.
the diference between them is link beheaves just like call, ie. at the end of the called pgm the cics returns the control to the clling pgm; the xctl
dont returns.