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

SORT or FILEAID to copy records having space in the 35th col


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prasanth_urs

New User


Joined: 04 Dec 2006
Posts: 44
Location: Pune,India

PostPosted: Fri Feb 16, 2007 10:33 am
Reply with quote

Hi all,
Please help me.....

I need to copy all records having space in the 35th column to the output file.But i am confused whether to use FILEAID or SORT.

Since this is an urgent requirement please help me quiclky....

Give me the Syntax of both SORT and FILEAID if possible.

Many Thanks in Advance
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Feb 16, 2007 10:42 am
Reply with quote

Hi there,

please find below sort card

Code:
//SYSIN    DD  *
  SORT FIELDS=COPY                                 
  INCLUDE COND=(35,1,CH,EQ,C' ')
/*
Back to top
View user's profile Send private message
prasanth_urs

New User


Joined: 04 Dec 2006
Posts: 44
Location: Pune,India

PostPosted: Fri Feb 16, 2007 1:06 pm
Reply with quote

Thank you ,

but can you tell me the FILEAID syntax....?

Thanks
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top