help me to find out the answer

0 views
Skip to first unread message

R A J E S H

unread,
Oct 14, 2005, 3:42:05 AM10/14/05
to mfs...@googlegroups.com
hi,
 
1.how u say that the static or dynamic by seeing the
pgm not jcl?

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

byee
Rajesh

R A J E S H

unread,
Oct 14, 2005, 3:38:24 AM10/14/05
to mfs...@googlegroups.com

Hi,

 how ur pgm or jcl knows that the file using is vsam
or non-vsam?

Connor (wonrischan@gmail.com)

unread,
Nov 3, 2005, 9:48:16 AM11/3/05
to MFSTUDY
hi,
hope my answer is not so late, if still any question, you can send mail
to me.

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

Reply all
Reply to author
Forward
0 new messages