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

Some problem facing in OUTREC


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

New User


Joined: 12 Mar 2007
Posts: 1
Location: kolkata

PostPosted: Mon Feb 16, 2009 10:12 am
Reply with quote

Hi,

I want to copy from input file from the 2nd position onwards and put it to outptut dataset. Both input and output dataset should be variable length.
In the sort card i have used...where LRECL is 109

Code:

  SORT   FIELDS=COPY
  OUTREC  FIELDS=(6,109)


When i ran this.. it gave the error message..
RECORD TYPE IS V - DATA STARTS IN POSITION 5
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Feb 16, 2009 10:34 am
Reply with quote

You can use these DFSORT statements:

Code:
 
  SORT FIELDS=COPY
  OUTREC FIELDS=(1,4,5:6)
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Facing ABM3 issue! CICS 3
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
Search our Forums:

Back to Top