View previous topic :: View next topic |
Author |
Message |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Fri Feb 09, 2007 6:11 am Post subject: SYSREC00 |
|
|
Hi,
Can anyone help me with the difference between sysrec and sysrec00.
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Feb 09, 2007 8:58 am Post subject: |
|
|
Kingo,
There is no difference at all , they are both the same. SYSREC is used by LOAD, REORG, UNLOAD utilities
SYSRECnn. The value nn ranges from 00 to 99. You can have a maximum of 100 LOAD/UNLOAD output data sets for a single execution of the utility. So the first sql takes/unloads the data to SYSREC00 and then the next sql is associated to SYSREC01 and so on.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Mon Feb 12, 2007 11:38 pm Post subject: |
|
|
Thanks Kolusu
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue Feb 13, 2007 3:27 am Post subject: |
|
|
But kolusu u have said So the first sql takes/unloads the data to SYSREC00 can u explain me this.
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
blitz2 Beginner

Joined: 23 Jan 2007 Posts: 84 Topics: 14
|
Posted: Tue Feb 13, 2007 3:59 am Post subject: |
|
|
takes <-> LOAD
unloads <-> UNLOAD
________
CB750K
Last edited by blitz2 on Wed Feb 02, 2011 3:11 am; edited 1 time in total |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue Feb 13, 2007 4:06 am Post subject: |
|
|
No i got that But my concern is about tht "FST SQL"
what does that mean?As it is its gonna be one single statement which is going to do all
these things.Can anyone explain me about that?
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Feb 13, 2007 6:30 am Post subject: |
|
|
kingo wrote: | As it is its gonna be one single statement which is going to do all these things.Can anyone explain me about that? |
No you can have a max of 100 sql statements for unload and the first sql is unloaded to sysrec00 and the second sql is unloaded to sysrec01 and so on ..
ex: Code: |
//sysrec00 dd dsn=output of unload table A
//sysrec01 dd dsn=output of unload table B
...
//sysrec99 dd dsn=output of unload table 99
//sysin dd *
select * from table A;
select * from table B;
...
select * from table 99;
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue Feb 13, 2007 7:07 am Post subject: |
|
|
Thanks a lottttttttt Kolusu
It really helped me and I was breaking my head with this simple question.
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
 |
|
|