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
 
How to Identify particular data fields that contain data.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: How to Identify particular data fields that contain data.
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    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jan 13, 2009 6:51 pm    Post subject:
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    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Tue Jan 13, 2009 7:20 pm    Post subject:
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    Post subject: Reply to: How to Identify particular data fields that contai
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

Senior Member


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

PostPosted: Fri Jan 16, 2009 5:23 pm    Post subject: Re: Reply to: How to Identify particular data fields that co
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

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