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
 
Need to convert EZT copybooks to COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Need to convert EZT copybooks to COBOL
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: 3158
Location: Tucson AZ

PostPosted: Tue Aug 07, 2007 4:29 pm    Post subject:
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    Post subject: RE
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: 3158
Location: Tucson AZ

PostPosted: Tue Aug 07, 2007 4:40 pm    Post subject:
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Tue Aug 07, 2007 4:47 pm    Post subject:
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    Post subject: re
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: 3158
Location: Tucson AZ

PostPosted: Tue Aug 07, 2007 4:52 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm

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