Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
More Diff between SEARCH & SEARCHALL, Static & Dynam

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
kaustubhkhole

New User


Joined: 20 Oct 2008
Posts: 19
Location: Hyderabad

PostPosted: Tue Jul 20, 2010 11:36 am    Post subject: More Diff between SEARCH & SEARCHALL, Static & Dynam
Reply with quote

Diff between SEARCH and SEARCHALL, Static & Dynamic Call

Hi All ... Great reference on Static And Dynamic Call .. Could you please tell me if we can Identify if a program is Statically or Dynamically Called just by having a look at the Cobol program(syntax ?
Back to top
View user's profile Send private message

gladint
Warnings : 1

New User


Joined: 15 Apr 2010
Posts: 3
Location: Chennai

PostPosted: Tue Jul 20, 2010 12:08 pm    Post subject:
Reply with quote

Hi,

Call by Literal
ie: CALL 'SUBPGM' is said to be Static Call

Call by Variable
ie: CALL WS-PGM is said to be Dynamic Call.
(WS-PGM)is the variable,you are accepting value at the runtime.

Search : This is the linear search,can be in any order.

SearchAll : This is like Binary search,should be in sorted order.
Back to top
View user's profile Send private message
ssmukul

New User


Joined: 22 Jan 2008
Posts: 19
Location: India

PostPosted: Tue Jul 20, 2010 4:12 pm    Post subject:
Reply with quote

Just to add,

If the code has been compiled as NODYNAM:
CALL 'SUBPGM' is a Static Call
CALL WS-PGM is a dynamic call

But if the code has been compiled as DYNAM:
Both of the CALLs are DYNAMIC call.


Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts Search a Load Module sreekanth1984 TSO/ISPF 8 Tue Jun 07, 2016 8:45 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us