Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Reformatting a file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Reformatting a file
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10364
Location: italy

PostPosted: Fri Apr 25, 2008 7:18 pm    Post subject: Reply to: Reformatting a file
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

Site Director


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

PostPosted: Fri Apr 25, 2008 9:22 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us