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

JCL Interview Questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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
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
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top