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
 

 

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 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
No new posts 3-D Table with nested DEPENDING ON Cl... VivekKhanna COBOL Programming 5 Sat Aug 08, 2015 11:18 pm
No new posts when=group clause: question about the... tuxama DFSORT/ICETOOL 2 Thu Mar 26, 2015 12:51 pm
No new posts pic clause on group variable error CuriousMainframer COBOL Programming 6 Mon Jul 14, 2014 6:33 pm


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