× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

I just found some 'dumps' from what appear to be TCP jobs that may involve
SMTP. The Job Name is QTSMTPCLTP and the user is QTCP. I think that's the
SMTP Client program, right? The call stack list in the 'dump' looks like a
call to a Software Error procedure occurred. Beyond this, I'm stumped.

I'm including the dump here if anyone can read it to tell me what's wrong,
if anything.

Thanks,

Tom Garvey



-----Original Message-----
From: Thomas Garvey [mailto:tgarvey@xxxxxxxxxx]
Sent: Thursday, September 20, 2012 10:47 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: only last email is being sent

Thanks, Scott.

Can I send the log offline to you?

Tom Garvey


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Wednesday, September 19, 2012 4:17 PM
To: Midrange Systems Technical Discussion
Subject: Re: only last email is being sent

Yes, that sounds like you're using my program for sending the mail. Thanks.

Can you have it log what's happening when sending the mail? Maybe post what
it logs for one message that's not sending?


On 9/19/2012 5:07 PM, Thomas Garvey wrote:
I'm pretty sure it's all your routines. Without diving into the
procedures, there is an SMTP_H source member, SOCKET_H, SIGNAL_H, and
SMTPR4, for example. The code mentions it being a replacement for
QtmmSendMail().


Tom Garvey

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Wednesday, September 19, 2012 3:51 PM
To: Midrange Systems Technical Discussion
Subject: Re: only last email is being sent

That sounds like a problem you normally see with QtmmSendMail().

Are you using my routines for sending the mail, or are you using my
routines for formatting mail with IBM's send API?


On 9/19/2012 4:38 PM, Thomas Garvey wrote:
Hi,

I continue to be mystified by email servers.

I've got a program that can send emails. It uses Scott Klement's
SMTP API's. It's been working fine for months, even years. Now,
when consecutive emails are sent, only the LAST message sent actually
arrives.
The joblog shows everything is fine. That is, there is no difference
between the job log entries for the first message sent as the second.

What could be wrong?


Best Regards,

Thomas Garvey






--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


5770SS1 V7R1M0 100423 Display Job 9/20/12 10:59:17 Page 1
Job . . . : QTSMTPCLTP User . . . : QTCP Number . . . . : 083745
Job Status Attributes
Status of job . . . . . . . . . . . . . . . : ACTIVE
Current user profile . . . . . . . . . . . . : QTCP
Job user identity . . . . . . . . . . . . . : QTCP
Set by . . . . . . . . . . . . . . . . . . : *DEFAULT
Entered system:
Date . . . . . . . . . . . . . . . . . . . : 09/19/12
Time . . . . . . . . . . . . . . . . . . . : 16:21:55
Started:
Date . . . . . . . . . . . . . . . . . . . : 09/19/12
Time . . . . . . . . . . . . . . . . . . . : 16:21:55
Subsystem . . . . . . . . . . . . . . . . . : QSYSWRK
Subsystem pool ID . . . . . . . . . . . . : 1
Type of job . . . . . . . . . . . . . . . . : PJ
Special environment . . . . . . . . . . . . : *NONE
Program return code . . . . . . . . . . . . : 0
Controlled end requested . . . . . . . . . . : NO
System . . . . . . . . . . . . . . . . . . . : S107603P
5770SS1 V7R1M0 100423 Display Job 9/20/12 10:59:17 Page 2
Job . . . : QTSMTPCLTP User . . . : QTCP Number . . . . : 083745
Job Definition Attributes
Job description . . . . . . . . . . . . . . : JOBD QTMSMTPS
Library . . . . . . . . . . . . . . . . . : QUSRSYS
ASP device . . . . . . . . . . . . . . . . : *SYSBAS
Job queue . . . . . . . . . . . . . . . . . : JOBQ
Library . . . . . . . . . . . . . . . . . :
ASP device . . . . . . . . . . . . . . . . :
Job priority (on job queue) . . . . . . . . : JOBPTY 5
Output priority (on output queue). . . . . . : OUTPTY 5
End severity . . . . . . . . . . . . . . . . : ENDSEV 30
Message logging: LOG
Level . . . . . . . . . . . . . . . . . . : 4
Severity . . . . . . . . . . . . . . . . . : 0
Text . . . . . . . . . . . . . . . . . . . : *NOLIST
Log CL program commands . . . . . . . . . . : LOGCLPGM *NO
Job log output . . . . . . . . . . . . . . . : LOGOUTPUT *PND
Printer device . . . . . . . . . . . . . . . : PRTDEV PRT01
Default output queue . . . . . . . . . . . . : OUTQ *DEV
Library . . . . . . . . . . . . . . . . . :
Job date . . . . . . . . . . . . . . . . . . : DATE 09/19/2012
Date format . . . . . . . . . . . . . . . . : DATFMT *MDY
Date separator . . . . . . . . . . . . . . . : DATSEP /
Time separator . . . . . . . . . . . . . . . : TIMSEP :
Job time: DATETIME
Current date . . . . . . . . . . . . . . . : 09/20/2012
Current time . . . . . . . . . . . . . . . : 10:59:17
Day of week . . . . . . . . . . . . . . . . : DAYOFWEEK *THU
Time zone . . . . . . . . . . . . . . . . . : TIMZON QN0600CST
Offset . . . . . . . . . . . . . . . . . . : TIMOFFSET -05:00
Full name . . . . . . . . . . . . . . . . : TIMZONFULL Central Daylight Time
Abbreviated name . . . . . . . . . . . . . : TIMZONABBR CDT
Year offset . . . . . . . . . . . . . . . . : YEAROFS 0
Job switches . . . . . . . . . . . . . . . . : SWS 00000000
Inquiry message reply . . . . . . . . . . . : INQMSGRPY *RQD
Accounting code . . . . . . . . . . . . . . : ACGCDE *SYS
Print text . . . . . . . . . . . . . . . . . : PRTTXT ' '
DDM conversation . . . . . . . . . . . . . . : DDMCNV *KEEP
Break message handling . . . . . . . . . . . : BRKMSG *NORMAL
Status message . . . . . . . . . . . . . . . : STSMSG *NORMAL
Device recovery action . . . . . . . . . . . : DEVRCYACN *MSG
Time slice end pool . . . . . . . . . . . . : TSEPOOL *NONE
Print key format . . . . . . . . . . . . . . : PRTKEYFMT *PRTHDR
Sort sequence . . . . . . . . . . . . . . . : SRTSEQ *HEX
Library . . . . . . . . . . . . . . . . . :
Language identifier . . . . . . . . . . . . : LANGID ENU
Country or region identifier . . . . . . . . : CNTRYID US
Coded character set ID . . . . . . . . . . . : CCSID 500
Default coded character set ID . . . . . . . : DFTCCSID 500
Job message queue maximum size . . . . . . . : JOBMSGQMX 64
Job message queue full action . . . . . . . : JOBMSGQFL *WRAP
Allow multiple threads . . . . . . . . . . . : ALWMLTTHD *NO
Decimal format . . . . . . . . . . . . . . . : DECFMT *BLANK
Character identifier control . . . . . . . . : CHRIDCTL *DEVD
Auxiliary storage pool group . . . . . . . . : ASPGRP *NONE
5770SS1 V7R1M0 100423 Display Job 9/20/12 10:59:17 Page 3
Job . . . : QTSMTPCLTP User . . . : QTCP Number . . . . : 083745
Spooled file action . . . . . . . . . . . . : SPLFACN *KEEP
Job Run Attributes
Run priority . . . . . . . . . . . . . . . . . . . . : RUNPTY 35
Time slice in milliseconds . . . . . . . . . . . . . : TIMESLICE 2000
Eligible for purge . . . . . . . . . . . . . . . . . : PURGE *YES
Default wait time in seconds . . . . . . . . . . . . : DFTWAIT 30
Maximum CPU time in milliseconds . . . . . . . . . . : CPUTIME *NOMAX
CPU time used . . . . . . . . . . . . . . . . . . . : 53
Maximum temporary storage in megabytes . . . . . . . : MAXTMPSTG *NOMAX
Temporary storage used . . . . . . . . . . . . . . : 9
Maximum threads . . . . . . . . . . . . . . . . . . . : MAXTHD *NOMAX
Threads . . . . . . . . . . . . . . . . . . . . . . : 1
Thread resources affinity: THDRSCAFN
Group . . . . . . . . . . . . . . . . . . . . . . . : *NOGROUP
Level . . . . . . . . . . . . . . . . . . . . . . . : *NORMAL
Resources affinity group . . . . . . . . . . . . . . : RSCAFNGRP *NO
5770SS1 V7R1M0 100423 Display Job 9/20/12 10:59:17 Page 4
Job . . . : QTSMTPCLTP User . . . : QTCP Number . . . . : 083745
Spooled Output Files
Device or Total Cur File
File Queue User Data Status Pages Page Copies Form Type Pty Date Time Nbr Queue Library
QPSRVDMP QEZDEBUG FFDC RDY 11 1 *STD 5 09/20/12 10:59:17 1 QEZDEBUG QUSRSYS
QPJOBLOG QEZJOBLOG FFDC RDY 1 1 *STD 5 09/20/12 10:59:17 2 QEZJOBLOG QUSRSYS
QPDSPJOB QPRINT FFDC OPN 3 1 *STD 5 09/20/12 10:59:17 3 QPRINT QGPL
Job Call Stack
Thread . : 00000037
Module or Ctl
Type Program Statement Identifiers Instruction Activation Group Expanded Type Bdy
QTMSCLCP QTCP *NEW 0000000000000011 QTMSCLCP QBUILDTC1 Y
Procedure: _CXX_PEP__Fv
QTMSCLCP QTCP 26 *NEW 0000000000000011 QTMSCLCP QBUILDTC1 N
Procedure: main
QTMSCLCP QTCP 60 *NEW 0000000000000011 QTMSCLCP QBUILDTC1 N
Procedure: qtmsclcp
QTMSCLCP QTCP 8 *NEW 0000000000000011 QTMSCLNT QBUILDTC1 N
Procedure: client_main
QTMSCLCP QTCP 38 *NEW 0000000000000011 QTMSCLNT QBUILDTC1 N
Procedure: init_conn_slot__FP12conn_array_sP9mail_CB_s
QTMSCLCP QTCP 55 *NEW 0000000000000011 QTMSCLNT QBUILDTC1 N
Procedure: SetDSNSupp__FP12conn_array_sc
QTMSCLCP QTCP 2 *NEW 0000000000000011 QTMSSGHD QBUILDTC1 N
Procedure: smtp_exception_handler
QTMSCLCP QTCP 30 *NEW 0000000000000011 QTMSSGHD QBUILDTC1 N
Procedure: Log_SW_Error__FPc
QPDSRVPG QSYS 72 *DFTACTGRP 0000000000000001 QPDSRVPG QBUILDSS1 Y
Procedure: QpdReportSoftwareError
QPDSERR QSYS 07C2 *DFTACTGRP 0000000000000001 N
5770SS1 V7R1M0 100423 Display Job 9/20/12 10:59:17 Page 5
Job . . . : QTSMTPCLTP User . . . : QTCP Number . . . . : 083745
Job Locks
Job Status . . . . . . . : ACTIVE
Object Member ASP
Object Library Type Lock Status Locks Device Scope Thread
QHLPSYS QSYS *LIB *SHRRD HELD *JOB
QPDSPJOB QSYS *FILE-PRT *SHRNUP HELD *JOB
QSYS QSYS *LIB *SHRRD HELD *JOB
QSYS2 QSYS *LIB *SHRRD HELD *JOB
QTCP QSYS *LIB *SHRRD HELD *JOB
QTCP QSYS *USRPRF *SHRRD HELD *JOB
*SHRRD HELD *JOB
*SHRRD HELD *JOB
QUSRSYS QSYS *LIB *SHRRD HELD *JOB
Q04079N006 QSPL *FILE-PHY *SHRRD HELD YES *JOB
Job Member Locks
File . . . . : Q04079N006 Library . . . . . : QSPL Type . . . . : PHY ASP device . . : *SYSBAS
Lock
Member Type Lock Status Scope Thread
Q940566903 MBR *SHRRD HELD *JOB
DATA *SHRUPD HELD *JOB
Job Record Locks
Record
File Library Member Number Status
(Job has no record locks)
Job Library List
ASP
Library Type Device Text
QSYS SYS System Library
QSYS2 SYS System Library for CPI's
QHLPSYS SYS
QUSRSYS SYS System Library for Users
QTCP PRD
5770SS1 V7R1M0 100423 Display Job 9/20/12 10:59:17 Page 6
Job . . . : QTSMTPCLTP User . . . : QTCP Number . . . . : 083745
Open Files
Number of open data paths . . . . . . . . . . : 1
Member/ Record File I/O ---Open---- Relative
File Library Device Format Type Count Opt Shr-Nbr Record Scope Activation Group
QPDSPJOB QSYS *SPOOL OPENFILC PRT 136 O YES 1 *ACTGRPDFN *DFTACTGRP 0000000000000002
All File Overrides
Call level . . . . . . . . . . . . . : *
File Level Type Keyword Specifications
*PRTF *JOB PRT SPOOL(*YES) USRDTA(FFDC ) SPLFOWN(*JOB)
Commitment Control Status
(No commitment definitions are active)
Display Communications Status
---------Communications--------- --------Number of operations---------
Identifier Method Output Input Other Operation
(No communications identifiers are active)
Job Activation Groups
Activation Group In Use Indicator
*DFTACTGRP 0000000000000001 Y
*DFTACTGRP 0000000000000002 Y
QLGLOCAL 0000000000000012 N
QSQCLI 0000000000000013 N
17 0000000000000011 Y
Job Mutexes
Mutex
Status Mutex
(Job has no mutexes)
5770SS1 V7R1M0 100423 Display Job 9/20/12 10:59:17 Page 7
Job . . . : QTSMTPCLTP User . . . : QTCP Number . . . . : 083745
Threads
Total Aux Run
Thread Name Status CPU I/O Priority
00000037 RUN .055 468 35
MLB attributes
Library Resource Initial mount End of volume mount
Device allocation priority wait time wait time
TAPMLB01 35 5 5
* * * * * E N D O F L I S T I N G * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.