View previous topic :: View next topic
|
Author |
Message |
kiran.bhadran
New User
Joined: 07 Dec 2006 Posts: 6 Location: banglore
|
|
|
|
Please let me know the difference between
1) IDMS-RECORDS MANUAL
2) IDMS-RECORDS AUTO-STATUS
3) IDMS-RECORDS MANUAL LEVELS INCREMENTED BY * |
|
Back to top |
|
|
kiran.bhadran
New User
Joined: 07 Dec 2006 Posts: 6 Location: banglore
|
|
|
|
Please let me know the difference of
1) MODE IS IDMS-DC DEBUG
2) MODE IS BATCH-AUTOSTATUS DEBUG
3) MODE IS BATCH
4) MODE IS BATCH DEBUG
and if there is any other Mode used for IDMS, and the details of the PROTOCOL. used in IDMS-CONTROL SECTION. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
You need to look these up in the IDMS documentation.
If you find something in the documentation that is not clear, post what you found and your question about what you found.
If your organization is licensed to use the product, all of the material is available free from the CA Support web site. |
|
Back to top |
|
|
kiran.bhadran
New User
Joined: 07 Dec 2006 Posts: 6 Location: banglore
|
|
|
|
Hi,
we dont have the CA support web site, as we are working for a 3rd party with their product.
Please provide me the links where i can get these, i searched a few documents and was not able to get a correct explanantion.
Thanks
Kiran |
|
Back to top |
|
|
Chinnadu
New User
Joined: 05 Mar 2009 Posts: 46 Location: Hyderabad
|
|
|
|
Hi Kiran,
When you say IDMS-RECORDS MANUAL ,, after the query you will have to handle the return code from IDMS explicitly.
When you say IDMS-RECORDS AUTO-STATUS , in the query itself you can handle the error status from IDMS. |
|
Back to top |
|
|
Chinnadu
New User
Joined: 05 Mar 2009 Posts: 46 Location: Hyderabad
|
|
|
|
Hi Kiran,
Here is the entension to previous reply..
The PROTOCOL statement is a compiler-directive statement that specifies the manner in which the DML processor will generate CALL statements. In this example, BATCH indicates that the program will run in the batch rather than the online mode. The IDMS-RECORDS MANUAL clause specify records whose data descriptions (or record layout) will be copied from the data dictionary into the working-storage section by using the statement ‘COPY IDMS RECORD <rec-name> in the Data Division.
Note: - If we mention ‘MODE IS BATCH DEBUG’, then DEBUG indicates that the DML processor will supply additional code in the resulting source program that will be helpful in program debugging using the debugger.
Hope this will clear your doubts. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Sorry for the delayed reply - tried to send this last night (my time), but the forum web site went down.
Quote: |
we dont have the CA support web site, as we are working for a 3rd party with their product.
Please provide me the links where i can get these |
The 3rd part should be responsible for providing the needed material to people working on their system.
The CA material is covered by copyright and we may neither post nor link to it. If the "3rd party" has a license to use the product, they can download all of the material for free from the CA SUpport site. |
|
Back to top |
|
|
kiran.bhadran
New User
Joined: 07 Dec 2006 Posts: 6 Location: banglore
|
|
|
|
Hi Chinnadu,
Thank you for the explanantion....
one clarification needed.. as u mentioned "The IDMS-RECORDS MANUAL "
needs to copy the recods manually..
will the protocol "IDMS-RECORDS AUTO-STATUS " do it automaticall all the recods from IDD? |
|
Back to top |
|
|
Chinnadu
New User
Joined: 05 Mar 2009 Posts: 46 Location: Hyderabad
|
|
|
|
Hi Kiran,
If you dont give either MANUAL or AUTO,then precompiler considers that one as AUTO which would copy all records of the given subschema from IDD.But if you give MANUAL(for which COPY statement is a must), then only selected records will be copied. Let me know if you have any questions. |
|
Back to top |
|
|
kiran.bhadran
New User
Joined: 07 Dec 2006 Posts: 6 Location: banglore
|
|
|
|
Thank you Chinnadu.... iam clear on this concept ....
can u please explain on the below one
IDMS-RECORDS MANUAL LEVELS INCREMENTED BY * means |
|
Back to top |
|
|
Chinnadu
New User
Joined: 05 Mar 2009 Posts: 46 Location: Hyderabad
|
|
|
|
Kiran,
In additon to manual or auto one more TYPICAL option that we can use in PROTOCOL is
IDMS-RECORDS WITHIN (workingstorage secction/Linkage section) LEVELS INCREMENTED BY *.
when you say within WORKING-STORAGE section, all records in the given SSC would be copied into working storage section. If you say with in LINKAGE section then description of records would be copied into LINKAGE section.
LEVELS INCREMENTED BY * --> This clause we use to define the level of each group data item and each elementary data item in the subschema description.
For ex : when you say LEVELS INCREMENTED BY 2, below is how the precompiler expands the records.
*03 COPY IDMS SUBSCHEMA-DESCRIPTION
03 SUBSCHEMA-CTRL.
05 PROGRAM-NAME PIC X(8)
VALUE SPACES .
05 ERROR-STATUS PIC X(4)
VALUE '1400' .
When you say LEVELS INCREMENTED BY 4 ,
*05 COPY IDMS SUBSCHEMA-DESCRIPTION
05 SUBSCHEMA-CTRL.
07 PROGRAM-NAME PIC X(8)
VALUE SPACES .
I believe you got the diffenrence. Let me know if you have any questions. |
|
Back to top |
|
|
kiran.bhadran
New User
Joined: 07 Dec 2006 Posts: 6 Location: banglore
|
|
|
|
Hi Chinnadu,
Thanks a lot |
|
Back to top |
|
|
|