View previous topic :: View next topic
|
Author |
Message |
jyothibose1978
New User
Joined: 13 Mar 2005 Posts: 4 Location: bangalore
|
|
|
|
How do we find that it is batch natural proram or online pgm |
|
Back to top |
|
|
thiru.guduru
New User
Joined: 06 Apr 2005 Posts: 9 Location: Bangalore
|
|
|
|
There are two ways to find
One is
Find for the keyword 'EXEC CICS' in the program. If it finds then it is a online program otherwise it is a Batch program.
second one is
Go to Endevor option 1.1.1.1.
ENVIRONMENT ==> PROD
SYSTEM ==> MEMB
SUBSYSTEM ==> MEMB
ELEMENT ==> PROGRAM NAME HERE
TYPE ==> PUT * HERE
STAGE ==> P FOR PRODUCTION AND S FOR PREPROD
THEN ENTER
it will give the type of program
If it is a COBOL 3 PROGRAM it will give => BATCB3
If it is a COBOL 2 PROGRAM it will give => BATCB2
If it is a COBOL 2-DB2 PROGRAM it will give => BATDB2
If it is a COBOL 3-DB2 PROGRAM it will give => BATDB3
Likewise it will give for CICS also
Hope this information will help u |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
Also we can identify whether its an online pgm or a batch without opening the pgm itself.We can identify them by its name.
As per programming standards,CICS program is identified by the letter 'C' as the middle letter of the program name and BATCH program is identified by the letter 'B' as the middle letter of the program name.
Eg.;
1) xyzC123 is an online program(identified by 4th letter as 'C').
2) xyzB124 is a batch program(identified by 4th letter as 'B'). |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
radhakrishnan v said
Quote: |
Also we can identify whether its an online pgm or a batch without opening the pgm itself.We can identify them by its name.
|
I won't agree with you. These standards differ from shop to shop. Each shop will have their own naming conventions.
Regds
-Som |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
Yes.Standards may differ .
This standard way of naming convention is one of the best and easiest way of identifying whether its online or batch.Doesn't it seems so? |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
radhakrishnan82 wrote: |
Yes.Standards may differ .
This standard way of naming convention is one of the best and easiest way of identifying whether its online or batch.Doesn't it seems so? |
The original poster was asked about differentiating Online and batch programs. And was not asking for the naming standard that you are following.
I would not have to disagree with you if you posted your reply as a suggestion rather than giving a statement like
Quote: |
Also we can identify whether its an online pgm or a batch without opening the pgm itself.We can identify them by its name.
|
Just to make a point that your post may mislead the original poster
Regds
-Som |
|
Back to top |
|
|
learnmf
Active User
Joined: 14 Mar 2005 Posts: 123
|
|
|
|
Yes I am Agre with Som.
Thanks
CHandra |
|
Back to top |
|
|
|