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
 

 

49 level in cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
technut

New User


Joined: 27 Dec 2007
Posts: 73
Location: India

PostPosted: Tue Jul 20, 2010 12:38 pm    Post subject: 49 level in cobol
Reply with quote

One of my interview question recently..

Q) When 49 level is used in cobol? Is there any specific reason for using this level?
A) I have seen 49 level usually used to specify the host variables for VARCHAR type column in the DCLGEN but dont know of any specific reason.
Could there be any specific reason for this? If yes, pls explain..

Regs!
Back to top
View user's profile Send private message

bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Tue Jul 20, 2010 12:58 pm    Post subject:
Reply with quote

Hi technut,
Below 49 level we cant give any other elementary items, i think that because its using for declaring VARCHAR items.

Anyone correct me if i am wrong.
Back to top
View user's profile Send private message
technut

New User


Joined: 27 Dec 2007
Posts: 73
Location: India

PostPosted: Tue Jul 20, 2010 1:13 pm    Post subject:
Reply with quote

Thanks Bipin..
Hmm but even if we give anyother level than 49 for VARCHAR, then also it will work fine right...? So that doesnt make sense right!
Back to top
View user's profile Send private message
ssmukul

New User


Joined: 22 Jan 2008
Posts: 19
Location: India

PostPosted: Tue Jul 20, 2010 1:14 pm    Post subject:
Reply with quote

Hi Technut,

Please go through this link. This may be helpful in getting answer regarding use of Level 49 in varchar declaration.


Regards,
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm


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