Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

VSAM to VSAM Copy

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Uday Kumar R

New User


Joined: 07 Nov 2007
Posts: 25
Location: Mumbai

PostPosted: Fri Oct 12, 2012 5:57 pm    Post subject: VSAM to VSAM Copy
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7228

PostPosted: Fri Oct 12, 2012 6:00 pm    Post subject: Reply to: VSAM to VSAM Copy
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Oct 12, 2012 7:00 pm    Post subject:
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: 25
Location: Mumbai

PostPosted: Fri Oct 12, 2012 7:16 pm    Post subject: Reply to: VSAM to VSAM Copy
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7228

PostPosted: Fri Oct 12, 2012 7:24 pm    Post subject: Reply to: VSAM to VSAM Copy
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    Post subject:
Reply with quote

Uday Kumar R,

Check this link

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

Global Moderator


Joined: 10 May 2007
Posts: 1714
Location: UK

PostPosted: Sat Oct 13, 2012 12:37 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 6 Fri Dec 02, 2016 9:47 am
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts VSAM define for large file jerryte JCL & VSAM 9 Wed Oct 05, 2016 1:51 am
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us