SORT



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

SORT

Postby SATYAUNDRALLA » Tue May 14, 2013 5:53 pm

Hi,

I AM HAVING THE FLAT FILE WITH INPUT BELOW FORMAT

1234CI56789ABCDEFGHIJKL
3243DU786ACBDEFJKL

I WANT TO GET THE OUTPUT BASED ON CONDITION IF 5-6 POSITIONS ARE CI THEN COPY FROM POSITION 12-20


PLEASE HELP ME, HOW TO GET IT DONE IN JCL


Regards,
Satya
SATYAUNDRALLA
 
Posts: 2
Joined: Tue May 14, 2013 5:33 pm
Has thanked: 2 times
Been thanked: 0 time

Re: SORT

 

Re: SORT

Postby BillyBoyo » Tue May 14, 2013 6:21 pm

  OPTION COPY
  INCLUDE COND=(5,2,CH,EQ,C'CI')
  INREC BUILD=(12,9)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: SORT

Postby dick scherrer » Tue May 14, 2013 7:26 pm

Hello and welcome to the forum,

When posting, please do not use ALL CAPS as this is considered Shouting.

When posting jcl, code, data, etc that should be posted n "fixed-font", use the Code tag (as BillyBoyo did in his reply.

Also, please use a meaningful title - SORT tells a "helper" nothing.

Which sort product is being used? I'll relocate this into the correct of the forum - it is Not a JCL question.

Good luck!

d

These users thanked the author dick scherrer for the post:
SATYAUNDRALLA (Mon May 20, 2013 10:55 am)
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: SORT

Postby SATYAUNDRALLA » Thu May 16, 2013 3:41 pm

Thanks ! BillyBoyo and Dick,
For your quick response...
SATYAUNDRALLA
 
Posts: 2
Joined: Tue May 14, 2013 5:33 pm
Has thanked: 2 times
Been thanked: 0 time

Re: SORT

Postby NicC » Thu May 16, 2013 5:39 pm

And how about an answer to Dick's query. You are asking a sort question not a JCL question. There are 2 different sections for sort products and this topic has to be moved to the correct one - so, DFsort or Syncsort?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: SORT

Postby NicC » Fri May 17, 2013 11:48 pm

No reply - moving to DFSort
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

These users thanked the author NicC for the post:
SATYAUNDRALLA (Mon May 20, 2013 10:55 am)
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post