|
|
| Author |
Message |
khamarutheen
Senior Member
Joined: 23 Aug 2005 Posts: 680 Location: chennai
|
|
|
|
Dear all,
I would like to use the same attributes which sortin holds. Instead of repeating the attributes how do i extract to sortout, which is a new DSN.
Eg:
| Code: |
//SORTIN DD DSN=A.B.C,DISP=SHR
//SORTOUT DD DSN=A.B.C.NEW,DISP(NEW,DEL,CATLG),
// DCB=?????? |
Please advise |
|
| Back to top |
|
 |
References
|
Posted: Thu May 22, 2008 4:37 pm Post subject: Re: Use the same attributes which sortin holds |
 |
|
|
 |
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 72 Location: INDIA
|
|
|
|
Write DCB=*.SORTIN for NEW DSN.
Correct me, if its wrong.
Yogeshwar |
|
| Back to top |
|
 |
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1003 Location: Chennai - India
|
|
|
|
kha,
You can use DCB=(*.SORTIN) |
|
| Back to top |
|
 |
Anuj D.
Senior Member
Joined: 22 Apr 2006 Posts: 1707 Location: Mumbai, India
|
|
|
|
Yeah, this
is correct, but if SORTIN is on TAPE & SORTOUT is on DASD, it would "kill" a lot of DASD sapce. |
|
| Back to top |
|
 |
khamarutheen
Senior Member
Joined: 23 Aug 2005 Posts: 680 Location: chennai
|
|
|
|
Thanks for your prompt response. Job went fine.
Anju,
Thanks for your tip! SORTIN is in DASD. No issues  |
|
| Back to top |
|
 |
khamarutheen
Senior Member
Joined: 23 Aug 2005 Posts: 680 Location: chennai
|
|
|
|
Hi all,
A quick Query.. ie., It's known that INREC and OUTREC does the same job the diff is INREC process before sorting and OUTREC process after sorting. Nothing in parameters need to be changed right? I am facing a problem that if i use INREC FIELDS... the job goes cool but if i use OUTREC the Job gets abended!!! Can you please advise me!! |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 970 Location: Virginia, USA
|
|
|
|
| What does that have to do with the current thread? If you want an answer instead of just some guesses you need to provide more information. |
|
| Back to top |
|
 |
khamarutheen
Senior Member
Joined: 23 Aug 2005 Posts: 680 Location: chennai
|
|
|
|
Hey i am sorry if my query is not breif,
I use the below param
SORT FIELDS=COPY
INREC FIELDS=(1:1,8,
15:C' ',
17:42,9,
27:C' ',
28:81,8,PD,EDIT=(TTTTTTTTTTTT.TTT),SIGNS=(,-),
44:C' ',
45:109,5,ZD,EDIT=(T.TTT),
53:C' ',
54:114,3,
61:C' ',
62:141,9,ZD,EDIT=(T.TTTTTTTT),
74:C' ', )
If i replace INREC with OUTREC it's not getting executed. But it went cool with INREC. Am i clear or still needed any more info??? |
|
| Back to top |
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1391 Location: germany
|
|
|
|
lot of info there. we have no way of helping you without knowing the sys msgs generated by sort and the op-sys msgs.
knowing what your inrec/outrec parms would help, also. |
|
| Back to top |
|
 |
khamarutheen
Senior Member
Joined: 23 Aug 2005 Posts: 680 Location: chennai
|
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7515 Location: 221 B Baker St
|
|
|
|
Hello,
You need to post all of the diagnostic info the execution produced.
You should also post all of the jcl and control statements as "Code" using the tag at the top of the reply panel. |
|
| Back to top |
|
 |
|
|