i have three files. first file contain 20 fields ,second file contain 20 fileds and thrid file is empty. now i want for first file first 10 fileds data and second file last 10 fileds data will be copied in to third file. now the third file contain first file 10fileds of data and second file last 10 fileds data.How u can write the jcl for this
Please show an example of the records in each of the two input files and what you expect the output file to look like. Please give the starting position and length for the relevent fields. Please indicate the RECFM and LRECL of each input file.
first file contain (empno,ename,sal,deg,jdate,comm,address,telno,emaiid,renumber).
second file contain(deptname,salinfo,da,hra,pf,benifits,comments,location,city,country)
there are fields in a two files. Now i want the fallowing structure
when ever i am open the third file the information can displayed as fallows
the three files are vsam ksds files.
how u can write the jcl for this ?
and another question is
is it possible for concatenate the vsam data set? how ? plz give me one example.
You can use the SPLICE operator of DFSORT's ICETOOL to do this kind of join operation. Since you didn't give the position and length of the fields, as requested, I can't show you how to write the JCL. But here's a Smart DFSORT Trick that shows the technique: