For a particular business requirement I want to include the contents of PROC SDSD22 directly in th SYSIN instead of using SUBMIT PROC=SDSD22. This is a job I will not be able to test in my local system due to security issues. I want to know if I copy paste the whole content of SDSD22 in the SYSIN stream, woud I still need SUBMIT command.
Can you please let me know how would the syntax change in that case ?
Ok THanks for the quick response superk, so is there no way that I can use instream data to achieve this ?
The only reason I am insisting for instream data is that I cannlt change the control cards SDSD22 etc right now. I want to do a minor change to the content without having to touch anymember except the JCL.
Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
You haven't exactly shown us what your proc CDBATCH does, so I'm making an assumption that it contains a proc step that runs the Connect:Direct batch interface program DMBATCH. You need to spend some time in the manuals, and within your own site's policy manuals, reading up on what you can and can't do within DMBATCH (it has a very limited set of command statements). There are two ways you can use the SUMBIT command: first, like you've shown, is to submit the specific Process name, which means that your job has the DMPUBLIB DD statement pointing to the PDS (or PDS's) that contain your process statements. You can also SUMBIT a dataset (containing one or more sets of Connect:Direct Process statements), IF your Connect:Direct administrators allow it.