View previous topic :: View next topic
|
Author |
Message |
Uday Kumar R
New User
Joined: 07 Nov 2007 Posts: 27 Location: Mumbai
|
|
|
|
Hi,
I am trying to copy information from VSAM to VSAM using SORT.
The functionality i am try here, while copying the data from INPUT to OUTPUT dataset, the information of OUTPUT dataset completely erased and write the iNPUT dataset information (similar to IEGBGENR, with disp=shr option)
i coded the sort as:
Code: |
//STEP010 EXEC PGM=SORT
//SORTIN DD DSN=STIA.LAR.TESTING,DISP=SHR
//SORTOUT DD DSN=STIA.LAR.TESTING.OUT,DISP=SHR
//SYSOUT DD SYSOUT=*
//IND DD SYSOUT=*
//REST DD SYSOUT=*
//SYSIN DD *
OPTION COPY
RECORD TYPE=V |
system throws the error message at the location:
Code: |
ICE201I H RECORD TYPE IS V - DATA STARTS IN POSITION 5
ICE751I 0 C5-K62149 C6-K90026 C7-K58148 C8-K67572 EE-K65446 E9-K60824 C9-BASE
ICE143I 0 BLOCKSET COPY TECHNIQUE SELECTED
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R12 - 20:14 ON FRI OC
OPTION COPY
RECORD TYPE=V
ICE201I H RECORD TYPE IS V - DATA STARTS IN POSITION 5
ICE751I 0 C5-K62149 C6-K90026 C7-K58148 C8-K67572 EE-K65446 E9-K60824 C9-BASE
ICE193I 0 ICEAM1 INVOCATION ENVIRONMENT IN EFFECT - ICEAM1 ENVIRONMENT SELECTED
ICE088I 0 RARBKSDA.STEP010 . , INPUT LRECL = 1107, BLKSIZE = 8192, TYPE =
ICE093I 0 MAIN STORAGE = (MAX,16777216,16777216)
ICE156I 0 MAIN STORAGE ABOVE 16MB = (16719856,16719856)
ICE127I 0 OPTIONS: OVFLO=RC0 ,PAD=RC0 ,TRUNC=RC0 ,SPANINC=RC16,VLSCMP=N,SZERO=Y, |
Error:ICE201I H RECORD TYPE IS V - DATA STARTS IN POSITION 5 - As the dataset is VSAM, provided RECORD TYPE=V at my sort. Can you suggest the any help which i can resolve the this problem. Thank you for your time and help. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Locate IBM Lookat on the internet. Put the ICE201I message into that and read.
Then tell us what your problem is that led you to look at the messages.
EDIT: And what do you mean by "DISP=SHR option"? I think you'd best LISTCAT a dataset that you are doing this for, then ensure that you understand the output. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Sort messages ending with an "I" are informational messages, error messages do end with an "E" or "A". |
|
Back to top |
|
|
Uday Kumar R
New User
Joined: 07 Nov 2007 Posts: 27 Location: Mumbai
|
|
|
|
Thankyou for highlight the point.
Code: |
ICE902I 0 O PP10 I PP10
ICE077A 0 VSAM OUTPUT ERROR L(8) SORTOUT
ICE751I 1 EF-BASE F0-K66717 E8-K61439
ICE052I 0 END OF DFSORT |
|
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
And did you use IBM LookAt for this one? Or the DFSORT messages manual? Or google? Or what? |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
And I bet the system didn't throw an error message - it may ahve displayed or issued one but if it did you have not posted it. |
|
Back to top |
|
|
|