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 findout length of particular field in copybook

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
srinivas.cdp

New User


Joined: 22 Jun 2006
Posts: 4

PostPosted: Sat Dec 23, 2006 9:41 pm    Post subject: how to findout length of particular field in copybook
Reply with quote

how to findout length of particular field in copybook,( copybook contains morethan 5000 fields)?
Back to top
View user's profile Send private message

William Thompson

Global Moderator


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

PostPosted: Sat Dec 23, 2006 9:47 pm    Post subject: Re: how to findout length of particular field in copybook
Reply with quote

srinivas.cdp wrote:
how to findout length of particular field in copybook,( copybook contains morethan 5000 fields)?
Can you not just look at the particular field in the copybook and see what its picture is?
Back to top
View user's profile Send private message
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Sun Dec 24, 2006 10:56 am    Post subject: how to findout length of particular field in copybook
Reply with quote

use file aid option 8.
.
.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Sun Dec 24, 2006 4:08 pm    Post subject:
Reply with quote

U can use file manager option 3 Utilities then use 13 option for copybook.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Sun Dec 24, 2006 4:49 pm    Post subject:
Reply with quote

??? edit copybook, find "field" and check attributes ??

Miss something?

But if you want to know the length of "from field " to "to field", it is another question : use File-Aid or some edit macro I know it exists for cobol structure ( assuming your copybook is a structure )
Back to top
View user's profile Send private message
Hexnut

New User


Joined: 18 Aug 2005
Posts: 1
Location: Atlanta, Georgia

PostPosted: Wed Dec 27, 2006 5:06 am    Post subject: Re: how to findout length of particular field in copybook
Reply with quote

A compile listing should do it.
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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
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
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm


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