Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
Posted: Tue Nov 18, 2003 7:13 pm Post subject:
As your'e invoking a NDM proc called NDMRNJOB, you would have to refer to that proc. However here is some JCL (a little over complicated) that will copy an entire PDS (you can adpat this to include the member names). Obviously you will have to make quite a few other amendments so that it conforms to your site conventions.
Note that the dataset is copied from PPRD to PDEV, the job can be submitted from either, but due to the XEQ statement will run on the PPRD system.
The first step creates a temporary PDS based upon an existing dataset, you might be better of hard coding the DCB info (FB, LRECL=80 should be ok).
The next step simply creates a member named MITICT in the temporary PDS, populating it with an NDM proc named MITICT (i.e. the same as the member name).
The third step does the actual NDM transfer, signing on to NDM, invoking the MITICT proc (passing parameters to it) and then signing off from NDM.
This isn't necessarily the best solution, it's simply the first potential solution that I found. It should adequately serve as the basis of a solution though. _________________ Regards,
Mike.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum