IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Initialization of a FILLER variable


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Superior Member


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

PostPosted: Wed Aug 13, 2008 5:19 pm
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: 1287
Location: Chennai, India

PostPosted: Wed Aug 13, 2008 5:21 pm
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

Superior Member


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

PostPosted: Wed Aug 13, 2008 5:31 pm
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

Superior Member


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

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

Hi bittu,

Please check this link -

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
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

Superior Member


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

PostPosted: Wed Aug 13, 2008 6:18 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top