IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

VSAM to VSAM Copy


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Uday Kumar R

New User


Joined: 07 Nov 2007
Posts: 27
Location: Mumbai

PostPosted: Fri Oct 12, 2012 5:57 pm
Reply with quote

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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Oct 12, 2012 6:00 pm
Reply with quote

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

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Oct 12, 2012 7:00 pm
Reply with quote

Sort messages ending with an "I" are informational messages, error messages do end with an "E" or "A".
Back to top
View user's profile Send private message
Uday Kumar R

New User


Joined: 07 Nov 2007
Posts: 27
Location: Mumbai

PostPosted: Fri Oct 12, 2012 7:16 pm
Reply with quote

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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Oct 12, 2012 7:24 pm
Reply with quote

And did you use IBM LookAt for this one? Or the DFSORT messages manual? Or google? Or what?
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Fri Oct 12, 2012 10:08 pm
Reply with quote

Uday Kumar R,

Check this link

ibmmainframes.com/post-46410.html
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sat Oct 13, 2012 12:37 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top