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 Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am
No new posts OPC JCL Variable passion_sujesh IBM Tools 5 Fri Jul 01, 2016 4:21 am
No new posts JOINKEYs and Variable files migusd SYNCSORT 8 Fri Jun 17, 2016 3:16 am
No new posts File Manager with Variable Length File ahabib IBM Tools 10 Thu Mar 31, 2016 11:00 pm


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