BPXBATCH word count



Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

BPXBATCH word count

Postby Ananth13 » Sat Nov 20, 2010 4:47 pm

Hi, I am trying to get word count for the file which is available in the unix and my JCL is below, After I execute this job, the STDOUT file has 0 0 0 as value.
I need help from the forum.. Thanks.

//JS10 EXEC PGM=BPXBATCH,PARM='sh wc' OUTHFS
//OUTHFS DD PATHOPTS=(ORDONLY),
// PATHMODE=(SIRWXU,SIRWXG),
// PATH='/wwwwwwww/aaa/bbbbbbbbb/dddddd/data/xyz'
//STDERR DD DSN=abc.xyz.data,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(TRK,(160,0),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PS)
//STDOUT DD DSN=abc.wer.data2,
// DISP=(New,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(TRK,(160,0),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PS)
//SYSOUT DD SYSOUT=*
//SYSTSIN DD DUMMY
//SYSTSPRT DD SYSOUT=*
/*
Ananth13
 
Posts: 1
Joined: Thu Nov 04, 2010 12:41 am
Has thanked: 0 time
Been thanked: 0 time

Re: BPXBATCH word count

 

Re: BPXBATCH word count

Postby Robert Sample » Mon Nov 22, 2010 8:01 am

Have you tried:
//JS10 EXEC PGM=BPXBATCH,PARM='sh wc /wwwwwwww/aaa/bbbbbbbbb/dddddd/data/xyz'
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times


Return to All other Mainframe Topics

 


  • Related topics
    Replies
    Views
    Last post