- Q Fish that can produce electricity:
- Q What one factor would most accelerate the benefits of the Internet of Things?
- Q How long would it take you to count 1 billion orally if you could count 200 every minute and were given a day off every four years? Assume that you start counting on 1 January 2001.
- Q Who created the Choleshwar Temple?
- Q Do you know what is the importance of eoq?
- Q What is medical imaging?
- Q What does the kidney do?
- Q The people next door are furious ____ us for making much noise last night.
- Q Arboreal describes a creature which commonly lives in what?
- Q In binary search tree which traversal is used for getting ascending order values--Inorder ,post order,preorder
- Q Rajya Sabha is assisted by the Secretary-General, who holds the rank equivalent to?
Question
What if i need to have the same application running on multiple platforms, such as unix and the mainframe? does that mean i have to maintain two separate sources?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
Answers
Not at all. Rexx includes an instruction that allows you to determine the environment in which your program is running. PARSE SOURCE will give you a string in which the first token is the name of the system where the program is running. For uni-REXX, this is "UNIX"; on the mainframe, it would be "CMS" or "TSO". Then you can put conditional processing into your program based on the current execution environment. In a program that needed to display a current listing of files, you might set your master source up something like this:
parse source env:
select
when env = 'UNIX' then command = 'ls'
when env = 'CMS' then command = 'listf'
when env = 'TSO' then command = 'listc'
otherwise call OS_error_routine
end
:
: [ to do a list command, you write]>
:
command /* value is sent to OS */ Your Comment
parse source env:
select
when env = 'UNIX' then command = 'ls'
when env = 'CMS' then command = 'listf'
when env = 'TSO' then command = 'listc'
otherwise call OS_error_routine
end
:
: [ to do a list command, you write]>
:
command /* value is sent to OS */ Your Comment
- 0
- 0
- New Answer
- Contributors: *,
More Software,running Questions..
What is the inputsplit in map reduce software?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is software configuration management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What Is Java Api For Xml-based Rpc (jax-rpc)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How can you implement fine-grained auditing?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is IBM’s simple explanation for Big Data’s four critical features?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is static synchronized method in JDBC API? Give an example?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What does the NULLIF function do?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What happens if a start method is not invoked and the run method is directly invoked?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Should we override finalize method
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
what is the difference between mysql_fetch_array and mysql_fetch_object?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How will XML affect my document links?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Why to use Style Sheets?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are Filters in MVC?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Can you explain Application layer in OSI model?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How to define new testplan attributes?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Which oracle package is used to manage the oracle lock management services?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is marker interface?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What types of partitioning are there for BW?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,