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
 
COBOL- REDEFINE CLAUSE

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

New User


Joined: 29 Mar 2006
Posts: 59
Location: Montreal

PostPosted: Wed Sep 26, 2007 4:12 pm    Post subject: COBOL- REDEFINE CLAUSE
Reply with quote

Hi All,
Can I redefine a FILLER item.
like shown below
05 FILLER X(9)
05 MAJ-MIN-LINE REDEFINES FILLER
10 MAJ-LINE-CODE XX
10 MIN-LINE-CODE XX
10 FILLER X(5)

Thanks
Venkat
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Wed Sep 26, 2007 4:16 pm    Post subject: Reply to: COBOL- REDEFINE CLAUSE
Reply with quote

A phylosophical consideration ...

A filler is just a place keeper for something You are not interested in,

redefining it means that You are interested in the content of that spot,
so why not just define the new layout and get rid of the filler ???

I wonder

regards

e.s
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Sep 26, 2007 4:19 pm    Post subject: Re: COBOL- REDEFINE CLAUSE
Reply with quote

venktv wrote:
Can I redefine a FILLER item.
No, not that way...
This would be the same thing and valid to boot....
05 MAJ-MIN-LINE X(9)
05 FILLER REDEFINES MAJ-MIN-LINE
10 MAJ-LINE-CODE XX
10 MIN-LINE-CODE XX
10 FILLER X(5)
Back to top
View user's profile Send private message
Help-Me-Out

New User


Joined: 09 Dec 2006
Posts: 56
Location: Pune

PostPosted: Wed Sep 26, 2007 4:24 pm    Post subject: Reply to: COBOL- REDEFINE CLAUSE
Reply with quote

Hi,

You cann't use the filler in the redefine clause. icon_eek.gif It will definatly give Sever error. in the compilation. icon_confused.gif
Back to top
View user's profile Send private message
guptae

Moderator


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

PostPosted: Wed Sep 26, 2007 4:33 pm    Post subject:
Reply with quote

Hi Venkat,

Please go through the follwoing link

http://www.ibmmainframes.com/viewtopic.php?t=7633&highlight=redefine+filler
Back to top
View user's profile Send private message
venktv

New User


Joined: 29 Mar 2006
Posts: 59
Location: Montreal

PostPosted: Wed Sep 26, 2007 4:44 pm    Post subject:
Reply with quote

Friends,

Thanks very much for the above responses...

I am planning to go with CICS Guy advise...

Thanks
Venkat
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 How to display offset thru cobol prog... tvinodkumar7 CICS 2 Sun Apr 22, 2018 8:42 pm
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts COBOL MVS options BiswajitDG COBOL Programming 8 Fri Apr 06, 2018 12:35 am

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