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

how to findout length of particular field in copybook


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Sat Dec 23, 2006 9:47 pm
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
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: 1208
Location: Bangalore,India

PostPosted: Sun Dec 24, 2006 4:08 pm
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: 459
Location: Belgium

PostPosted: Sun Dec 24, 2006 4:49 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top