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

Need difference between IDMS-RECORDS MANUAL,AUTO-STATUS


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kiran.bhadran

New User


Joined: 07 Dec 2006
Posts: 6
Location: banglore

PostPosted: Tue Apr 21, 2009 8:33 pm
Reply with quote

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
View user's profile Send private message
kiran.bhadran

New User


Joined: 07 Dec 2006
Posts: 6
Location: banglore

PostPosted: Tue Apr 21, 2009 8:36 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Apr 21, 2009 9:57 pm
Reply with quote

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
View user's profile Send private message
kiran.bhadran

New User


Joined: 07 Dec 2006
Posts: 6
Location: banglore

PostPosted: Wed Apr 22, 2009 9:03 am
Reply with quote

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
View user's profile Send private message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Wed Apr 22, 2009 5:18 pm
Reply with quote

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
View user's profile Send private message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Wed Apr 22, 2009 5:24 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Apr 22, 2009 8:40 pm
Reply with quote

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
View user's profile Send private message
kiran.bhadran

New User


Joined: 07 Dec 2006
Posts: 6
Location: banglore

PostPosted: Thu Apr 23, 2009 11:58 am
Reply with quote

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
View user's profile Send private message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Thu Apr 23, 2009 2:52 pm
Reply with quote

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
View user's profile Send private message
kiran.bhadran

New User


Joined: 07 Dec 2006
Posts: 6
Location: banglore

PostPosted: Mon Apr 27, 2009 11:15 am
Reply with quote

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
View user's profile Send private message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Tue Apr 28, 2009 1:51 pm
Reply with quote

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
View user's profile Send private message
kiran.bhadran

New User


Joined: 07 Dec 2006
Posts: 6
Location: banglore

PostPosted: Mon May 04, 2009 4:50 pm
Reply with quote

Hi Chinnadu,

Thanks a lot
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 -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts combine multiple unique records into ... DFSORT/ICETOOL 2
No new posts Difference between joblib and steplib JCL & VSAM 2
No new posts Pull data using date difference betwe... DB2 6
No new posts To Omit records based n SORT condition DFSORT/ICETOOL 6
No new posts Difference between PLT txn and schedu... CICS 3
Search our Forums:

Back to Top