2.can we apply sort utility for vsam files?
3. how to delete duplicate records from vsam -esds
file?
4. // is the endof jcl or end of step?
5. // step1
// step 30
//step 60
// step 100
i want execute from ste30 to step 60 only? how u
code cond code?
6. gdg(1)
gdg(2)
gdg(+1)
gdg(+2)
iwant to create 2 gdgs and copied the data from
gdg(1) to gdg(+1),gdg(2) to gdg(+2)
and copy the newly created gdgs to another pds which
existed already ?
Advance thanks for ur help
1. if we want to read/update/write dynamic in pgm, it is always thru
module. if it is flat, we can directly use the command or module. you
can check the module and know if it is dynamic
2. we can sort from vsam to flat. for me, i always have the recs sorted
to flat, and then IDCAMS to vsam. pay attention, if it is ksds, should
be key sequential.
3. haha, i'v got a stupid way. copy to flat file, delete the duplicate
rec, then copy back to vsam...
4. what do you mean? in jcl and prc, // is the beginning of each line,
except some special condition, like instream prm of sysin
5. you can use restart=step30. sorry, i forgot how to stop at step60,
can anybody else tell me?
6. don't understand your question. what do you mean gdg(1), gdg(2)??
7. this is always thru program. if you use a module to
read/write/update, the module will know. if you directly use the
command, you need to define the file organization in the SELECT
command.
btw, from your name, I guess you are indian, right? hahaha