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
 

 

Copying VSAM File to PS File

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Sat Jun 21, 2008 1:32 am    Post subject: Copying VSAM File to PS File
Reply with quote

Please let me know how to copy a VSAM file to PS File(this will be a new file).
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Sat Jun 21, 2008 1:48 am    Post subject: Reply to: Copying VSAM File to PS File
Reply with quote

This is a similar topic.
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Sat Jun 21, 2008 1:53 am    Post subject: Reply to: Copying VSAM File to PS File
Reply with quote

Please let me know where i'll get some idea for it,

i am getting an abend.

I am using

Sort fields=copy

Include cond=(.....)
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Sat Jun 21, 2008 2:25 am    Post subject: Re: Reply to: Copying VSAM File to PS File
Reply with quote

meenakshi_forum wrote:
i am getting an abend.


Could you provide any less detail then you have?
What abend, show us the job listings etc!
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Sat Jun 21, 2008 2:41 am    Post subject: Reply to: Copying VSAM File to PS File
Reply with quote

ICE005A 0 STATEMENT DEFINER ERROR
ICE010A 0 NO SORT OR MERGE CONTROL STATEMENT
ICE751I 0 C5-K26318 C6-K90007 E7-K24705
ICE052I 3 END OF DFSORT




******************************************
In my control card sort is like this--

SORT FIELDS=COPY
INCLUDE COND=(25,2,CH,EQ,C'01',OR,25,2,CH,EQ,C'15')
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jun 21, 2008 3:23 am    Post subject:
Reply with quote

Hello,

Using the "Code" bbtag, post your jcl and control statements (this will make your post more readable).

Make sure your control statements do not begin in col1.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Sat Jun 21, 2008 4:39 am    Post subject:
Reply with quote

Meenakshi,

You are getting those errors because your control statements start in column 1. You must have at least one blank before SORT and at least one blank before INCLUDE.

Code:

  SORT FIELDS=COPY
  INCLUDE COND=(25,2,CH,EQ,C'01',OR,25,2,CH,EQ,C'15')


If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
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 copying data without knowing location arunsoods DFSORT/ICETOOL 2 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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