View previous topic :: View next topic |
Author |
Message |
euphoria Beginner
Joined: 05 Dec 2005 Posts: 14 Topics: 8
|
Posted: Mon Feb 06, 2006 6:28 am Post subject: testing dialog |
|
|
I am a beginer in dialogs.
I have a panel in a *plib PDS and a calling program in *clib.
Now how do i go about integrating these two.So,that the program calls the panel.
The question may seem trivial to a lot of you.But i could not find an answer in any of the material i have.
cheers,
-euphoria |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Feb 06, 2006 8:16 am Post subject: |
|
|
If the panel library is not already allocated for your ISPF session, then you need to use the LIBDEF command:
'LIBDEF ISPPLIB DATASET ID('dataset-list') COND'
(see the appropriate EDIT MODEL command for your language).
Then, display the panel with the DISPLAY command:
'DISPLAY PANEL ('panelnam') MSG('msg-id') CURSOR('fieldnam'),
CSRPOS('pos#') COMMAND('commands'),
RETBUFFR('buf-name') RETLGTH('lng-name') MSGLOC('msgfield')'
(Again, see the appropriate EDIT MODEL command for your language). |
|
Back to top |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Mon Feb 06, 2006 11:17 am Post subject: |
|
|
Just a tiny addition: To see the panel libraries allocated to your ISPF session, you can use ISRDDN from TSO.
O.
________
Honda Civic
Last edited by ofer71 on Sat Feb 05, 2011 11:30 am; edited 1 time in total |
|
Back to top |
|
 |
euphoria Beginner
Joined: 05 Dec 2005 Posts: 14 Topics: 8
|
Posted: Thu Feb 09, 2006 12:27 am Post subject: testing dialog |
|
|
Hi
Thanks for the replies .Now how do i trigger a job from my clib program?
I have a skeleton job in my SLIB and i have defined the slib in the program.But how do i integrate these two?
regards,
euphoria |
|
Back to top |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
|
Back to top |
|
 |
|
|