IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How do we find that it is batch natural proram or online pgm


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jyothibose1978

New User


Joined: 13 Mar 2005
Posts: 4
Location: bangalore

PostPosted: Thu Apr 07, 2005 10:03 pm
Reply with quote

How do we find that it is batch natural proram or online pgm
Back to top
View user's profile Send private message
thiru.guduru

New User


Joined: 06 Apr 2005
Posts: 9
Location: Bangalore

PostPosted: Fri Apr 08, 2005 1:53 pm
Reply with quote

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
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Mon Apr 11, 2005 10:19 am
Reply with 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.

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
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Tue Apr 12, 2005 1:46 am
Reply with quote

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
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Tue Apr 12, 2005 12:02 pm
Reply with quote

Yes.Standards may differ icon_smile.gif .

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
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Tue Apr 12, 2005 7:09 pm
Reply with quote

radhakrishnan82 wrote:
Yes.Standards may differ icon_smile.gif .

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 icon_lol.gif
Regds
-Som
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Fri Apr 15, 2005 8:47 pm
Reply with quote

Yes I am Agre with Som.
Thanks
CHandra
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 2
No new posts sort to find out the char which repea... Mainframe Interview Questions 10
No new posts Check if CICS is online in JCL CICS 10
No new posts Compare 2 alphabets in a REXX and fin... CLIST & REXX 2
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
Search our Forums:

Back to Top