MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Variable lentgh file - sort
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12401
Topics: 75
Location: San Jose

PostPosted: Sat Feb 21, 2009 12:19 pm    Post subject: Reply with quote

nadh,

You do realize that your Input is a VB file and why do you keep say positions 1,2 and 3,4? why cant you account the 4 bytes of RDW and tell the actual positions ? Every time your specs change you can't expect me to keep track of what your file attributes are.

Show me the sample records which you think shouldn't be in the output along with complete Sysout of step0100 and step0200.

I canNOT help you without seeing the sysout
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Mon Feb 23, 2009 7:12 am    Post subject: Reply with quote

Thank you Kolusu.

This is my sample input
Quote:

.................................TXR19090219
0111IN098886 0000010...................................
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12401
Topics: 75
Location: San Jose

PostPosted: Mon Feb 23, 2009 12:17 pm    Post subject: Reply with quote

nadh,

*Sigh*. You don't pay attention to anything I say Do you? Change your step0100 control cards to the following

Code:

//SYSIN    DD *                                               
  OPTION COPY                                                 
  OUTFIL REMOVECC,                                           
    HEADER1=(' OPTION COPY',/,                               
             ' INCLUDE COND=(5,2,CH,EQ,X''','0000''',',OR,',/,
             14X,'(5,2,SS,EQ,C''','01,09''',',AND,',/,       
             14X,'(1,1,CH,NE,1,1,CH,OR,'),                   
    BUILD=(15X,C'7,2,CH,EQ,C''',12,2,C''',OR,',80:X),         
    TRAILER1=(15X,'1,1,CH,NE,1,1,CH)))')                     
/*

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Fri Mar 06, 2009 8:49 am    Post subject: Reply with quote

Thankyou very much Kolusu,

Requirement got changed again. I've modified the other sort cards and achieved the desired results. Thank you Once again for the timely help. I'll test the last sort card and keep it for future referance.

Thankyou.
Nadh
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group