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

COBOL- REDEFINE CLAUSE


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Sep 26, 2007 4:16 pm
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: 2146
Location: At my coffee table

PostPosted: Wed Sep 26, 2007 4:19 pm
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
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: 1208
Location: Bangalore,India

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

Hi Venkat,

Please go through the follwoing link

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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
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