Problem with syslst in MTPBATCH

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
ramya_MF
Member
Posts: 12
Joined: Sun Jul 22, 2012 10:05 am
Location: chennai

Problem with syslst in MTPBATCH

Post by ramya_MF » Sun Jul 22, 2012 10:11 am

I used MTPBATCH to issue CEMT I FIL command from batch. The SYSLST DD of MTPBATCH writes only 81 bytes of information in sysout.The dataset name is missing in the sysout. How to get the complete information in SYSLST?
Thanks in Advance!!!!!
ramya

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Sun Jul 22, 2012 11:18 am

If syslist is defined as a dataset increase the lrecl of the dataset. If it is DD * then scroll rignt. If there is no data to the right then the data is not there to view anyway.
Regards
Nic

ramya_MF
Member
Posts: 12
Joined: Sun Jul 22, 2012 10:05 am
Location: chennai

Post by ramya_MF » Sun Jul 22, 2012 2:47 pm

Thanks for your suggestion. I was tried to increase the lrecl from 81 to 200,300....and so on. But still i am facing the same problem. I was also tried to print the data in sysout. But still i am getting the same output of truncated dataset. Please suggest me if you know any informaion regarding MTPBATCH.
ramya

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Jul 23, 2012 1:16 am

It will probably help of you post the JCL for the problem step.
Have a good one

ramya_MF
Member
Posts: 12
Joined: Sun Jul 22, 2012 10:05 am
Location: chennai

Post by ramya_MF » Mon Jul 23, 2012 8:30 am

Hi Dik,

Please find the below JCL.

//F5910DET JOB ('F5910DE'),TIME=(9,59),MSGCLASS=O,NOTIFY=F5910DE
/*JOBPARM L=999999
//STEP01 EXEC PGM=MTPBATCH
//STEPLIB DD DSN=K9799T.CEMT.BATCH.LOADLIB,DISP=SHR
//BATCNTL DD DSN=K9799T.CEMT.BATCH.BATCNTL,DISP=SHR
//SYSLST DD SYSOUT=*,DCB=(RECFM=VB,LRECL=204)
//SYSUDUMP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIPT DD *
CICS NCICSTDM
CEMT I FILE(*HS2*)
/*

and i am getting the output in SYSLST like this.

CICS/VS ENHANCED MASTER TERMINAL PROGRAM RELEASE 5.4

SENT=> NCICSTDM 7:49:07
EA BRO SHA DSN( F5750GX.UAT
ULLY COMPLETED BATCH COMMAND 7:49:20
AL PROGRAM COMPLETED - END OF PROCESSING

Here the problem is i am not getting the entire file name in DSN.
i am getting only half of the file name like F5750GX.UAT
But my original file name is F5750GX.UAT.F5750HS2

Thanks,
ramya
ramya

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Jul 23, 2012 8:54 am

How was the DCB info determined for the SYSLST DD? It appears that One (and maybe more) characters are missing from the front of some of the lines of output.

Hoe many files in this CICS would match *HS2*?

Have you or anyone else successfully issued the same commands for a different file?
Have a good one

ramya_MF
Member
Posts: 12
Joined: Sun Jul 22, 2012 10:05 am
Location: chennai

Post by ramya_MF » Mon Jul 23, 2012 9:35 am

Hi,

Initially i was given //SYSLST DD SYSOUT=* only. But by giving like this i am getting the truncated DSN. So i thought that it might be problem with lrecl. Thats why i given DCB parameters there, But this is also giving the same truncated output.

Only one file will match with (*HS2*), i successfully issued this command. instead his i can use F750HS2 also. Both transaction commands will fetch only one unique file.
ramya

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Jul 23, 2012 9:49 am

Is there only one character missing per line in the SYSLST output? If so, it is possibly where a "carriage-control" character was anticipated by MTPBATCH.

What happens if you use the full file name rather than the *HS2*? Why specify a trailing * if HS2 is the last of the value?
Have a good one

ramya_MF
Member
Posts: 12
Joined: Sun Jul 22, 2012 10:05 am
Location: chennai

Post by ramya_MF » Mon Jul 23, 2012 10:03 am

Hi,
Instead of *HS2* i specified full file DD name F5750HS2. But i still i am facing the same problem with my syslst output. In my syslst i am getting the DSN as F5750GX.UAT only instead of Full DSN name called F5750GX.UAT.F5750HS2.
I want to get the full file name. i dont know why i am getting only half of the file name.
ramya

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Jul 23, 2012 6:42 pm

Probably time to open an issue with MTPBATCH Support.
Have a good one

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Sun Sep 16, 2012 10:00 am

Has this been resolved?

It is important to post the resolution when something like this has been resolved.

If it is still a problem and you have not asked MTPBATCH support, why not?

If you continue to leave your topics "hanging" they will locked and later deleted as they are of no value as they are :(

d

academyindia4

Topic deleted by Admin

Post by academyindia4 » Thu Jan 21, 2016 10:58 am

<< Content deleted By Admin >>

academyindia4

Topic deleted by Admin

Post by academyindia4 » Wed Feb 03, 2016 12:50 am

<< Content deleted By Admin >>

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others