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

Need to convert EZT copybooks to COBOL


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raj_gdg

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Tue Aug 07, 2007 4:17 pm
Reply with quote

Hi.
I have file layout as below
field: start length datatype
Code:
RE-REC-ALL             0001                         2025         A
RE-COMMON-PART01       0001                           18         A
RE-POLBRQ-UFRSTA       0001                            2         A
RE-POLTYQ-UFRSTA       0003                            3         A
RE-POLNOQ-UFRSTA       0006                            7         N
RE-POLLOQ-UFRSTA       0013                            3         N
RE-POLRIQ-UFRSTA       0016                            3         N
RE-COMMON-PART03       0022                            8         A
RE-RSK-POLPMR          0022                            3         A

In the above file ,i have to identify the reapting starting fields and in the o/p file i should have first repeating field as identified as 'GR'

I want the output as

Code:

REC-ALL                0001                         2025          A   
COMMON-PART01          0001                           18          A       GR
POLBRQ                 0001                            2          A
POLTYQ                 0003                            3          A
POLNOQ                 0006                            7          N
POLLOQ                 0013                            3          N
POLRIQ                 0016                            3          N
COMMON-PART03          0022                            8          A       GR   
RE-RSK-POLPMR          0022                            3          A



ANY HELP ON THIS WILL BE APPRECIATED.

REGARDS
RAJ
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Tue Aug 07, 2007 4:29 pm
Reply with quote

Is that "GR" valid for EZT?
Back to top
View user's profile Send private message
raj_gdg

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Tue Aug 07, 2007 4:35 pm
Reply with quote

William Thompson wrote:
Is that "GR" valid for EZT?

NO. GR IS NOT VALID FOR EZT.
I AM TRYING TO IDENTIFY GORUP RECORDS IN THAT FILE LAYOUT.

FYI::I AM NOT USING THIS AS COPYBOOKS LAYOUT. I AM TRYING TO CONVERT EZT INTO COBOL FORMAT.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Tue Aug 07, 2007 4:40 pm
Reply with quote

First, please learn what the "Caps Lock" is used for.
Second, are GROP and GORUP synonyms for GROUP?
Third, what else do you need, you have identified the group names?
Back to top
View user's profile Send private message
raj_gdg

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Tue Aug 07, 2007 4:42 pm
Reply with quote

William Thompson wrote:
First, please learn what the "Caps Lock" is used for.
Second, are GROP and GORUP synonyms for GROUP?
Third, what else do you need, you have identified the group names?


THANKS FOR YOUR COMMENTS.

READ GROP AS GROUP
I JUST WANT TO KNOW IS THERE ANY WAY THAT I CAN THE O/P AS SHOWN.??
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Tue Aug 07, 2007 4:47 pm
Reply with quote

raj_gdg wrote:
THANKS FOR YOUR COMMENTS.

READ GROP AS GROUP
I JUST WANT TO KNOW IS THERE ANY WAY THAT I CAN THE O/P AS SHOWN.??
Thanks for readind (some) of my comments..... icon_rolleyes.gif
You can get the output, what "tools" do you want to use to get the output?
Back to top
View user's profile Send private message
raj_gdg

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Tue Aug 07, 2007 4:50 pm
Reply with quote

William Thompson wrote:
raj_gdg wrote:
THANKS FOR YOUR COMMENTS.

READ GROP AS GROUP
I JUST WANT TO KNOW IS THERE ANY WAY THAT I CAN THE O/P AS SHOWN.??
Thanks for readind (some) of my comments..... icon_rolleyes.gif
You can get the output, what "tools" do you want to use to get the output?


I am looking for any ezt or cobol program which can solve this problem.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Tue Aug 07, 2007 4:52 pm
Reply with quote

I don't think any exist, but you might be able to write your own..... icon_smile.gif
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top