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
 

 

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 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
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm


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