MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SYSREC00

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Fri Feb 09, 2007 6:11 am    Post subject: SYSREC00 Reply with quote

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
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Feb 09, 2007 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Mon Feb 12, 2007 11:38 pm    Post subject: Reply with quote

Thanks Kolusu

Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 13, 2007 3:27 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
blitz2
Beginner


Joined: 23 Jan 2007
Posts: 84
Topics: 14

PostPosted: Tue Feb 13, 2007 3:59 am    Post subject: Reply with quote

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
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 13, 2007 4:06 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Feb 13, 2007 6:30 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 13, 2007 7:07 am    Post subject: Reply with quote

Thanks a lottttttttt Kolusu Very Happy Very Happy Very Happy Very Happy
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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group