View previous topic :: View next topic
|
Author |
Message |
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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 |
|
|
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 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: 1287 Location: Chennai, India
|
|
|
|
kha,
You can use DCB=(*.SORTIN) |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 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
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Thanks for your prompt response. Job went fine.
Anju,
Thanks for your tip! SORTIN is in DASD. No issues |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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: 1512 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
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|