Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
guruji
Warnings : 1

New User


Joined: 13 Apr 2007
Posts: 59
Location: Bangalore

PostPosted: Fri Jun 08, 2007 5:54 pm    Post subject: How to know the starting&ending position of each field?
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 08, 2007 5:57 pm    Post subject:
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: Bangalore

PostPosted: Tue Jun 12, 2007 5:57 pm    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Tue Jun 12, 2007 6:02 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Alter &DATENS field in HEADER1 Angad DFSORT/ICETOOL 4 Mon Apr 24, 2017 11:49 am
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us