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
 
Can we Declare Filler clause as 05 Filler X(9)

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

New User


Joined: 22 Sep 2005
Posts: 1

PostPosted: Thu Oct 13, 2005 4:33 pm    Post subject: Can we Declare Filler clause as 05 Filler X(9)
Reply with quote

Hi All,
Can we Declare Filler as below.
05 Filler A(9)

or

05 Filler X(9)

which one is correct and if we Declare as mentioned first what will happen?
Thank you.
Back to top
View user's profile Send private message

vishal_a

New User


Joined: 24 May 2005
Posts: 45
Location: Noida

PostPosted: Thu Oct 13, 2005 5:18 pm    Post subject: Re: Filler
Reply with quote

Well u can declare filler as

05 Filler X(9)

and can also be declared as

05 x(9)

using filler is not mandatory in Cobol 85

regards
Vishal
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Thu Oct 13, 2005 6:19 pm    Post subject:
Reply with quote

Hi,
What about PIC clause? I think,it's mandatory.So,
05 FILLER PIC A(9).
05 FILLER PIC X(9).
05 PIC X(9).
05 PIC A(9). (Use FILLER,for better documentation).
All the above four are allowed.All of them can be initialized to SPACES or some value,if necessary.
Regards,
Sridevi.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Oct 16, 2005 7:56 am    Post subject:
Reply with quote

If PIC A is used only the chars A thru Z or SPACE are allowed. Numerics (0 thru 9) and spec chars are NOT allowed.
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 Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Need help on SQL Dynamic WHERE Clause subratarec DB2 12 Sat Jul 16, 2016 3:11 pm
No new posts [SQL0029] INTO clause missing from em... HABBIE DB2 2 Fri Sep 04, 2015 3:54 pm

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