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: 10327
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: 1187
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 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
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

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