MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help on Tallying

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
nbdtrjk1
Beginner


Joined: 12 Apr 2007
Posts: 76
Topics: 41

PostPosted: Wed Apr 09, 2008 1:19 am    Post subject: Help on Tallying Reply with quote

01 A1 PIC X(21) VALUE ' IACXEFDS '
01 WS-CNT PIC 9(4) COMP.


INSPECT A1 Tallying WS-CNT for "A" OR "C" OR "X"

when i do compile for the above code i getting Error.


The above code is valid one? else please provide me alternate solution.
Back to top
View user's profile Send private message
jyoung
Beginner


Joined: 10 Nov 2005
Posts: 36
Topics: 2
Location: Flint, MI

PostPosted: Wed Apr 09, 2008 6:20 am    Post subject: Reply with quote

What is the compile error that you are receiving?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Apr 09, 2008 6:41 am    Post subject: Reply with quote

Why don't you try looking up the syntax in a manual?

Code:

INSPECT A1 Tallying WS-CNT for "A", "C", "X"


instead of dreaming-up your own syntax, check the manual.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
johngo_za
Beginner


Joined: 14 Mar 2008
Posts: 7
Topics: 2
Location: Pretoria, SA

PostPosted: Thu Apr 10, 2008 5:04 am    Post subject: Reply with quote

Yep dbzTHEdinosauer is correct,

Also you can add in the ALL verb,

INSPECT A1 Tallying WS-CNT for ALL "A", "C", "X".

John Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group