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

Compile and execute IDMS/dc programs


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Wed Oct 27, 2010 6:24 pm
Reply with quote

Hi Everyone,

I modified some code in an IDMS-DC program,How to compile and execute that.As far as i know there is no jcl/job which runs the IDMS-DC programs,
If i want my changed code to be tested ,then how to test..
Please reply...

Thanks,
kc
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Oct 27, 2010 6:29 pm
Reply with quote

why not ask Your support or Your peers?
we do not know anything about Your organization, Your organization standards and habits
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Wed Oct 27, 2010 6:36 pm
Reply with quote

Hi,
There is no need of knowing those standards..I am just asking the process..like bacth,u have to compile in a jcl/or thru a option in a scree and run the program in a run jcl,I am just asking that process..not any code or anything...just process..and thats everywhere same...if anybody knows about idms-dc can definitely answer this..
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Oct 27, 2010 6:57 pm
Reply with quote

before replying I always check the poster' s history

Your first post on IDMS was on Tue May 12, 2009 11:05 am
ibmmainframes.com/viewtopic.php?p=189856&highlight=#189856
where You say that You were able to modify/<build>/test a dialog

I assumed that You were knowledgeable about IDMS in general and wanted to know something specific

what has changed that You suddenly forgot things ?
looks like a forgetting curve rather than a learning curve icon_biggrin.gif
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Wed Oct 27, 2010 7:25 pm
Reply with quote

thats a dialog..here i am talking about a idms-dc program..ADSO has 3 components(map,dialog and a online program)..map designs the screen..dialog takes the logic for the PF keys ..but the logic behind them is written in a program...and thats a IDMS-dc program..

anyway someone from the forum assisted me..thanks for the forum...
Back to top
View user's profile Send private message
Meenakshi Selvaraj

New User


Joined: 30 Oct 2009
Posts: 36
Location: Chennai

PostPosted: Fri Oct 29, 2010 7:40 pm
Reply with quote

Hi,

The below are the steps which we followed.

1. The map should be successfully compiled.
2. An online program created with ADS/O is called a dialog (a discrete executable unit of work). It consists of the following components.
• Schema/Subschema
• Records
• Maps
• Processes

PROCESSES:

All the processing statements or program logic are written in processes. A dialog can have multiple processes.
Each dialog can have only one premap process and any number of response processes.
Premap process is not mandatory. If a dialog does not have a premap process then on dialog execution the map attached to that dialog will be displayed.

Processes can be created using DME or they can be punched into the dictionary using a JCL. Firstly logon to TSO and create a PDS. Then type each process as separate members of the PDS or type all processes as a single member. Each process should be preceded by the statement.
NOTE: Use the TSO option and not DME to enter processes into the IDD.

Creation of Dialog:

1. Type ADSC at task prompt

2. Enter the name of the dialog and press enter. To create a new dialog, ensure the dialog does not exist

3. Give the required information like MAP and Schema, Subschema details

4. Enter the name of the work record, if any.
NOTE: The work record is used to define a variable, which is not part of the record used by the map

5. In the next option, specify the names of the processes, the type and the respective keys to invoke the processes. Since the response field is used in the map, a value can be entered to invoke a particular process

6. Compile the dialog and ensure the dialog is successfully compiled

7. Use DCMT commands to ensure the compiled version is the latest one

8. Then execute the dialog

Currently i am not working on IDMS/ADSO. This much information only i remembered. Using these steps and try out in our system and let us know the details of the result.
Back to top
View user's profile Send private message
santasudhar

New User


Joined: 12 Jun 2009
Posts: 2
Location: Chennai

PostPosted: Mon Nov 08, 2010 9:23 am
Reply with quote

Hey,

Its very similar to that of compiling a batch IDMS module.
Only thing is the loadlib. there will be a standard loadlib from which the DC programs will be picked.

Check with your seniors and compile and move the load to that particular Loadlib.

will try to get the JCL if possible for you. its a year before i was in IDMS projects and now i am not... will search and try to find out.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Nov 08, 2010 10:16 am
Reply with quote

Hello and welcome to the forum,

Quote:
will try to get the JCL if possible for you.
Unless you work on the same system, you will not be able to do this. . .

The system already has standard processes that should be followed. No one should take something from someone who is posting stuff from somewhere to use on their system. . . These are not win-boxes where people can do many strange things and cause only limited damage.

Most "things" on the mainframe are corporate and only standard processes should be used.

To emphasize the importance of this, several of my clients have terminated people for refusing to use the standard processes. Only a few very poorly managed systems do not have standard compile processes in place. . .
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Mon Nov 15, 2010 4:33 pm
Reply with quote

Hi Meenakshi,

Thanks a lot..the steps are really helpful...

Thanks,
kcs
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Mon Nov 15, 2010 7:21 pm
Reply with quote

I am able to create the dialog now but on the process it is showing the dialog is not registered against the subschema..I am able to compile the map and dialog successfully..during new copy it is telling no module .
found.
Could you any one please let me know the command how to register the dialog against the subschema .
Thanks in advance..

Krish
Back to top
View user's profile Send private message
Meenakshi Selvaraj

New User


Joined: 30 Oct 2009
Posts: 36
Location: Chennai

PostPosted: Mon Nov 15, 2010 7:31 pm
Reply with quote

Check these points.

The following considerations should be noted when compiling a dialog:

If a dialog is defined as a function on the Response/Function List screen in ADSA, it must be defined on the Main Menu screen in ADSC (using the same dialog name).
If a dialog is associated with a task code, it must be defined as a mainline dialog.
The associated map must be compiled before the dialog can be compiled.
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Tue Nov 16, 2010 9:43 pm
Reply with quote

wow..you are genious...it really works..Thanks a lot Meenakshi...now on the process.Please clarify if something else comes on my way...

Thanks,
Krish
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Tue Nov 01, 2011 1:47 pm
Reply with quote

santa sudhar,you are spot on.Thats the correct answer of the above qns posted by me,nothing different needs to be done,only load module needs to be moved to the library which will be automatically picked up.

Thanks a Ton....
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
Search our Forums:

Back to Top