Problem with syslst in MTPBATCH
Moderators: Frank Yaeger, DikDude, Moderator Group
Problem with syslst in MTPBATCH
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!!!!!
Thanks in Advance!!!!!
ramya
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
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
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
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?
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
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.
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
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.
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
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
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
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
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page