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
 
Initialization of a FILLER variable

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

New User


Joined: 07 Jan 2007
Posts: 19
Location: Bangalore

PostPosted: Wed Aug 13, 2008 5:01 pm    Post subject: Initialization of a FILLER variable
Reply with quote

Hi,

What is the exact syntax of the INITIALIZE .. WITH FILLER ?

Thanks,
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Aug 13, 2008 5:19 pm    Post subject:
Reply with quote

Hi,

Probably you are looking for something else, FILLERS are left untouched when INITIALIZEd is used..

May be you wanted to say
Code:
INITIALIZE identifier-1 with REPLACING ALPHABETIC BY 'identifier-2'
Please clarify your query a bit more..
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Aug 13, 2008 5:21 pm    Post subject: Reply to: Initialization of a FILLER variable
Reply with quote

Anuj,


Quote:
FILLERS are left untouched when INITIALIZEd is used..


Thats true, but you can initialize the fillers using INITIALIZE WITH FILLER option and OP wants the syntax of the same.

Hope I am not wrong.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Aug 13, 2008 5:31 pm    Post subject:
Reply with quote

Aaru,

INITIALIZE "WITH FILLER" is valid with Fujitsu and Micro-Focus COBOL (and others i believe).

I've not seen it with IBM mainframe COBOL compilers & I work on IBM Mainframes, so first guess was that..
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Aug 13, 2008 5:35 pm    Post subject:
Reply with quote

Hi bittu,

Please check this link -

http://www.adtools.com/info/whitepaper/coby2k.pdf

& check for "WITH FILLER", you would get the syntax.
Back to top
View user's profile Send private message
bittu
Warnings : 1

New User


Joined: 07 Jan 2007
Posts: 19
Location: Bangalore

PostPosted: Wed Aug 13, 2008 6:08 pm    Post subject: Reply to: Initialization of a FILLER variable
Reply with quote

Hi,

Yes. It does not work in IBM Mainframe.


Thanks Aaru and Anuj for your suggetions.

Cheers,
Bittu
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Aug 13, 2008 6:18 pm    Post subject:
Reply with quote

Hi biitu,

Hopefully we had been helpful and you got what you were searching for..Good Luck... icon_smile.gif
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 Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm

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