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

Reformatting a file


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rosmi joseph

New User


Joined: 17 Sep 2007
Posts: 68
Location: Kochi

PostPosted: Fri Apr 25, 2008 7:11 pm
Reply with quote

Hi,

I have a file with record length 980.
The first 4 chars are seq no and the next 11 digits are together supposed to form a key.

my other input file has this 11 digit no but the seq no is not there.

I loaded the file to a VSAM. But now for searching i am not able to give any > condition.

Do i need to reformat the file such that the seq no comes after the 11 digit no?

Please let me know.

Or do we haev any condition check in VSAM?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Apr 25, 2008 7:18 pm
Reply with quote

I do not feel that the question is sort or a technical issue ...

it' s just an application issue of choosing the right fields to build a key

good luck
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Apr 25, 2008 9:22 pm
Reply with quote

Hello,

If you describe what your actual requirement is (rather than ways to implement a solution), we may be able to offer suggestions.

Are you trying to identify which 11-digit values are present/missing between the files?

Please post some sample input data from both files and what output(s) you want from your process. Explain what "rules" determine output selection.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top