ursmdnpavan wrote:1. What is Inline SQL ?
A LUW thing. I don't think that it is relevant to mainframes.
2. Copy particular records from multiple datasets to one o/p dataset.
Same way(s) as you'd copy particular records from one input data set (remember that concatenated data sets are logically a single data set).
3. How to send data from JCL to COBOL/DB2 ? am not asking jcl to normal cobol it is db2/cobol.
The same way(s) as for a COBOL program (or one written in any other language) that does
not use DB2 (I suppose that we could consider a program invoked by the RUN command of background TSO to be significantly different, but I'd just encapsulate it in a teeny bit of Rexx so that looked the same).
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day