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

How many DD statements we can write in a program


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rayeshu

New User


Joined: 21 Jun 2006
Posts: 3
Location: ahemadbad

PostPosted: Tue Aug 01, 2006 10:44 am
Reply with quote

PLZ PLZ PLZ PLZ REPLY SOON.WE R WAITING

Q1. what if time=(0,0) is specified in job statement and in whtwill do??will it be executed and how??

Q2.wht if Region=(0,0)is specified.wht do u mean by region and region=(0,0)

Q3How to execute a program if statement gets abbends?

Q4 How many DD statements we can write in a program?

Q5How many exact sttements we can write in a program?

Q6WHAT do u exactly mean by virtual storage?

Q7How long can a job remain in a system?
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Aug 07, 2006 2:42 am
Reply with quote

Quote:
Q1. what if time=(0,0) is specified in job statement and in whtwill do??will it be executed and how??

Use whatever time is available.

Quote:
Q2.wht if Region=(0,0)is specified.wht do u mean by region and region=(0,0)

It should abend, you dont define REGION Parameter like that.
Check complete reference on REGION PARAMETER.

Quote:
Q3How to execute a program if statement gets abbends?

Which statements. Statements in the COBOL Program don't get abended. If they fail such as S0C-7, job would abend with appropriate error- messages. And you'll have to restart the step itself.

Quote:
Q4 How many DD statements we can write in a program?

You write DD statements in JCLs not in PROGRAMs.
You may also want to look at here...

Q5How many exact sttements we can write in a program?
Means ????

Quote:
Q7How long can a job remain in a system?
Means what ???
Do you mean job-log after completion of job?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Aug 07, 2006 1:11 pm
Reply with quote

Rgarding questions 4 and 5:
If you meant "how many FD statements can we have in a COBOL program" - the answer is 65,535.

I couldn't find a particular number for the maximum COBOL statements allowed, but you can calculate it yourself - statement by statement by reading the relevant chapter in the fine manual.

O.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 07, 2006 1:44 pm
Reply with quote

hi,

Virtual storage is the storage space that may be regarded as addressable main storage by the user of a computer system in which virtual addresses are mapped into real addresses.

Precisely, It is a operating system functionality to enable the user with more main memory than what is actually available physically.

This is acheived by Swappling in - swapping out of unwanted data from the main memory.


For your 7th Question:

As long as the mainframes server is on............your job will be remain in the system executing..

~Vamsi
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top