Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 1 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us