Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
how to convert dymamic call to static call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
shivakumar .b
Warnings : 1

New User


Joined: 11 May 2005
Posts: 18
Location: bangalore

PostPosted: Fri May 13, 2005 5:28 pm    Post subject: how to convert dymamic call to static call
Reply with quote

HI EVERYBODY.
THIS IS SHIVAKUMAR.
IN ONE OF MY INTERVIEW, I HAD A QUESTION THAT
-- HOW DO U CONVERT DYNAMIC CALL INTO A STATIC CALL ,THAT IS WHAT CHANGES HAS TO BE MADE IN THE COBOL PROGAM, NOT IN THE JCL?
-- WHAT IS MOVE MODE AND LOCATE MODE I/O OPERATION?


ANYBODY PLZ GET ME THE ANSWER.
THANKS IN ADVANCE.
Back to top
View user's profile Send private message
References
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1506

PostPosted: Fri May 13, 2005 8:46 pm    Post subject:
Reply with quote

Hi Shiva,

The dynamic call in the pgm probably looks something like this:

WS:
05 ws-mypgm pic x(008) value 'pgmabc'.

PD:
call ws-mypgm.

To change it to static:

PD:
call 'pgmabc'.

All you do is put the pgm name in quotes.
Back to top
View user's profile Send private message
shivakumar .b
Warnings : 1

New User


Joined: 11 May 2005
Posts: 18
Location: bangalore

PostPosted: Mon May 16, 2005 10:32 am    Post subject: Re: how to convert dymamic call to static call
Reply with quote

THANKS JACK, I AM GRATEFUL TO YOU.
ACTUALLLY I HAVE UNDERSTOOD ABOUT STATIC AND DYNAMIC CALL IS IN OPPOSITE OF WHAT U HAVE ANSWERED.
THANKS A LOT JACK.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1