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
 

 

JCL Interview Questions

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

New User


Joined: 21 Jun 2004
Posts: 33
Location: Andorra

PostPosted: Thu Mar 10, 2005 10:14 am    Post subject: JCL Interview Questions
Reply with quote

hi,
These r some inter qs?

1. Another name for job scheduler is ?
2."PROC" stmt is necessarry in which all procedures
3.code space parameter with 1 track for primary and 1 track for
secondary
4.where will the cursor be positioned if there are more than 1 IC
fields coded?
5.for automatic log in which table log should be defined?
6.can REDEFINES clause used in file section ?

Expectig your replies
Bye
Back to top
View user's profile Send private message

sunnyk

New User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Thu Mar 10, 2005 5:53 pm    Post subject:
Reply with quote

Ans are:

1.UCC7 or CA7

2.Necessary for Instream Proc and Catalog proceures. But PEND is optional for Catalog Proc.

3.space=(trks,(1,1),rlse)

4.on the last IC field.And if u move -1 to more than one field in program(dynamic cursor positioning),cursor will be positioned at first field.

5.Don`t know

6. You cannot use REDEFINES in File Section

Thanks
sunny
Back to top
View user's profile Send private message
sunojsm
Warnings : 1

New User


Joined: 21 Jun 2004
Posts: 33
Location: Andorra

PostPosted: Thu Mar 10, 2005 6:19 pm    Post subject: Questions
Reply with quote

hi,
thanks for your reply.

sunnyk wrote:
Ans are:
1.UCC7 or CA7
2.Instream and catalog proceures
3.space=(trks,(1,1),rlse)
4.on the last IC field.And if u move -1 to more than one field in program(dynamic cursor positioning),cursor will be positioned at first field.
5.Don`t know
6.NO

Thanks
sunny
Back to top
View user's profile Send private message
mainframemouli

New User


Joined: 01 Mar 2005
Posts: 52
Location: Mysore

PostPosted: Thu Mar 10, 2005 7:22 pm    Post subject:
Reply with quote

6. Redifines may not be directly mentioned in the File section
but two files are mentioned in the file section then the
two files will share the same memory...

this is called Implicit redifing ...

hope it helps you
Back to top
View user's profile Send private message
Kingsingh

New User


Joined: 11 Mar 2005
Posts: 9

PostPosted: Fri Mar 11, 2005 12:47 pm    Post subject:
Reply with quote

Hi mouli,

Can u explain it with example...

Thanks in advance
icon_surprised.gif
Back to top
View user's profile Send private message
mainframemouli

New User


Joined: 01 Mar 2005
Posts: 52
Location: Mysore

PostPosted: Fri Mar 11, 2005 3:51 pm    Post subject:
Reply with quote

For Example

FD file1.
block contains 0 records.
label records are standard.

01 record1 pic x(100).
01 record2 pic x(100).


consider the file length ie LRECL in Jcl is 100 then the record2 will implicitly redifines the Record1.

then both record1 and record2 will share the same memory.

hope it helps you
Back to top
View user's profile Send private message
bsng_surru

New User


Joined: 07 Mar 2005
Posts: 16

PostPosted: Fri Mar 11, 2005 4:33 pm    Post subject: Re: JCL Interview Questions
Reply with quote

can you post the exact syntax how to read record 1 of file1 ?
and how to read record 2 of file1 ?
Back to top
View user's profile Send private message
chandrasekhar

New User


Joined: 29 Sep 2004
Posts: 35
Location: bangalore

PostPosted: Fri Mar 11, 2005 8:38 pm    Post subject: Re: JCL Interview Questions
Reply with quote

Quote:
2."PROC" stmt is necessarry in which all procedures


PROC is necessary for INstream procedure but for catalog procedure it is optional
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Mar 13, 2005 8:19 am    Post subject:
Reply with quote

Hi SGB,

The answer in both cases is:

READ FILE1

To process each rec they should contain a rec type field that identifies it as REC1 or REC2.
Back to top
View user's profile Send private message
raju1951

New User


Joined: 13 Feb 2004
Posts: 4

PostPosted: Sat Mar 19, 2005 9:17 am    Post subject: Re: JCL Interview Questions
Reply with quote

redefines is certainly possible in file section,
but only in 02 - 49 levels. not at 01 level.

whereas at 01 - 49 level redefines is allowed in Working-storage section.
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 Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am
This topic is locked: you cannot edit posts or make replies. Mainframe interview on 10th Oct 2015 ... kotesh Mainframe Jobs 0 Thu Oct 08, 2015 5:21 pm


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