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

How to know the starting&ending position of each field?


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

New User


Joined: 13 Apr 2007
Posts: 59
Location: Chennai

PostPosted: Fri Jun 08, 2007 5:54 pm
Reply with quote

Hi,

I have a VSAM file& a copy book of the same. I have converted it into a sequqntial file. How can I know the starting&ending position of each&every fields in the sequential file? will it be the same as the definition in the copy book of the VSAM file?

Can anyone help me out in this matter?

Thanking you,
Reni
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jun 08, 2007 5:57 pm
Reply with quote

Have you compared the flat file with the copy book definition yet
Back to top
View user's profile Send private message
guruji
Warnings : 1

New User


Joined: 13 Apr 2007
Posts: 59
Location: Chennai

PostPosted: Tue Jun 12, 2007 5:57 pm
Reply with quote

Hi,

I would like to convey you that I dont have mainframe ID with me right now for some reasons. But as soon as I get it it, I'll have to load the program &test it. So I dint get a chance to compare the flat file with the copybook. So understanding this point, Can someone help me out in this situation by suggesting how to know the staring position, offset or ending position of each of the fields?

Thanking you ,
Reni
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jun 12, 2007 6:02 pm
Reply with quote

If the record structure is the same, if you used the same copybook, yes, they will all be the same.
If you changed the size of any fields, or changes the usage (comp to comp-3 for example) of any fields, no, they will be different.
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Shift left VB record without x00 endi... DFSORT/ICETOOL 11
No new posts Join 2 files according to one key field. JCL & VSAM 3
Search our Forums:

Back to Top