Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10256
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 Redefine SYS1.PROCLIB farhad_evan JCL & VSAM 12 Mon May 22, 2017 10:54 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us