View previous topic :: View next topic
|
Author |
Message |
sunojsm Warnings : 1 New User
Joined: 21 Jun 2004 Posts: 33 Location: Andorra
|
|
|
|
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 |
|
|
sunnyk
New User
Joined: 20 Oct 2004 Posts: 59
|
|
|
|
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 |
|
|
sunojsm Warnings : 1 New User
Joined: 21 Jun 2004 Posts: 33 Location: Andorra
|
|
|
|
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 |
|
|
mainframemouli
New User
Joined: 01 Mar 2005 Posts: 52 Location: Mysore
|
|
|
|
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 |
|
|
Kingsingh
New User
Joined: 11 Mar 2005 Posts: 9
|
|
|
|
Hi mouli,
Can u explain it with example...
Thanks in advance
|
|
Back to top |
|
|
mainframemouli
New User
Joined: 01 Mar 2005 Posts: 52 Location: Mysore
|
|
|
|
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 |
|
|
bsng_surru
New User
Joined: 07 Mar 2005 Posts: 16
|
|
|
|
can you post the exact syntax how to read record 1 of file1 ?
and how to read record 2 of file1 ? |
|
Back to top |
|
|
chandrasekhar
New User
Joined: 29 Sep 2004 Posts: 35 Location: bangalore
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
raju1951
New User
Joined: 13 Feb 2004 Posts: 4
|
|
|
|
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 |
|
|
|