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

How to Identify particular data fields that contain data.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ramanatcs

New User


Joined: 23 Dec 2008
Posts: 7
Location: Bangalore

PostPosted: Tue Jan 13, 2009 6:07 pm
Reply with quote

A Cobol Program is writing data into output file, which is of 800 bytes length. which contains differrent fields like name, mailid, phonnumber, address, personal details, education etc., once the data written into the output file, how to identify the data belongs to particular field in the 800 bytes length of the record.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Jan 13, 2009 6:30 pm
Reply with quote

don't you have startool, fileaid or file manager available in your shop?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 13, 2009 6:51 pm
Reply with quote

Use the COBOL data map to cross reference the fields -- not an easy thing to do but possible.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Jan 13, 2009 6:56 pm
Reply with quote

just curiosity...is it another interview question?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jan 13, 2009 7:20 pm
Reply with quote

Hi,

Createa a "COPYBOOK" for the output file & "Browse" the data through it.
Back to top
View user's profile Send private message
ramanatcs

New User


Joined: 23 Dec 2008
Posts: 7
Location: Bangalore

PostPosted: Thu Jan 15, 2009 3:24 pm
Reply with quote

Hi All,

Thanks for ur replies....

I got the solution thru your explanations.....
Thanks once again
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Jan 16, 2009 5:23 pm
Reply with quote

Hi,

You are welcome.. icon_smile.gif .
ramanatcs wrote:
I got the solution thru your explanations.....
Please share the solution, you used, for the benefit of others..
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
This topic is locked: you cannot edit posts or make replies. Automation need help in sorting the data DFSORT/ICETOOL 38
Search our Forums:

Back to Top