Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Syncsort - INREC - SHORT RECORD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Yamini C

New User


Joined: 02 Jul 2010
Posts: 14
Location: India

PostPosted: Fri Jul 02, 2010 8:29 pm    Post subject: Syncsort - INREC - SHORT RECORD
Reply with quote

Hi

I am trying to generate a report using DFRMM REPORT option and it uses SYNCSORT as SORT tool.
The SYSIN cards are as below:
Code:
OPTION VLSHRT                             
INCLUDE COND=((853,10,CH,LT,C'2010/084'))
INREC FIELDS=(1,4,                       
          809,44,C' ',                   
          9,6,C' ',                       
          318,4,C' ',                     
          1326,5,C' ',                   
          1058,8,C' ',                   
          853,10,C' ',                   
          863,6,C' ')
SORT FIELDS=(5,44,CH,A,
          50,6,CH,A,   
          77,10,CH,A,   
          88,6,CH,A)   

i am getting error for INREC:
Code:
INDD     : RECFM=VB   ; LRECL=  7004; BLKSIZE= 27998             
INREC RECORD LENGTH =   160                                       
TEMP     : RECFM=VB   ; LRECL=   160; BLKSIZE= 27998             
15,448K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE, 
   0 BYTES RESERVE REQUESTED, 15,448K BYTES USED                 
G=750,SEGLEN=4784                                                 
INREC  - SHORT RECORD                                             

I have read the previous post on OUTREC -SHORT RECORDS and tried to fix the issue.It didnot work.Can some one throw light on this pls.
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Jul 02, 2010 9:07 pm    Post subject: Re: INREC - SHORT RECORD
Reply with quote

Yamini C wrote:
Can some one throw light on this pls.
Maybe...
Please post the jcl, control statements and all messages (including the message ids) created by the job you are inquiring about.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2158
Location: @my desk

PostPosted: Sat Jul 03, 2010 3:19 pm    Post subject: Reply to: Syncsort - INREC - SHORT RECORD
Reply with quote

May be you will have to search the forum for VLTESTI option. I remember having used this for INCLUDE CONDitions.

Here are a few related topics(?)
http://ibmmainframes.com/viewtopic.php?t=43186&highlight=vltesti

http://ibmmainframes.com/viewtopic.php?t=34132&postdays=0&postorder=asc&start=15
Back to top
View user's profile Send private message
Yamini C

New User


Joined: 02 Jul 2010
Posts: 14
Location: India

PostPosted: Mon Jul 12, 2010 12:45 pm    Post subject: Reply to: Syncsort - INREC - SHORT RECORD
Reply with quote

Hi
Splendid...it worked for the same job after trying for 2 weeks..dont know how icon_smile.gif

Thank You
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Mon Jul 12, 2010 12:49 pm    Post subject: Reply to: Syncsort - INREC - SHORT RECORD
Reply with quote

are You sure that the data was the same?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jul 12, 2010 7:36 pm    Post subject:
Reply with quote

Hello,

Quote:
it worked for the same job after trying for 2 weeks..dont know how
Good to hear it worked, but i don't believe this is a solution. . .

Suggest you invest the time to determine why it failed and why it works now. . .

If not, it is a time bomb waiting to cause problems at some other inopportune time. . .
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 12, 2010 7:41 pm    Post subject:
Reply with quote

Quote:
If not, it is a time bomb waiting to cause problems at some other inopportune time. . .


why should I care?
It will be somebody else's problem.
Back to top
View user's profile Send private message
Yamini C

New User


Joined: 02 Jul 2010
Posts: 14
Location: India

PostPosted: Fri Jul 16, 2010 7:50 pm    Post subject: Reply to: Syncsort - INREC - SHORT RECORD
Reply with quote

yes it ran for the same data.I tried to find out the real cause of the problem but in vain..still investigating..Thank You all!
Back to top
View user's profile Send private message
Yamini C

New User


Joined: 02 Jul 2010
Posts: 14
Location: India

PostPosted: Fri Jul 30, 2010 3:35 pm    Post subject: Reply to: Syncsort - INREC - SHORT RECORD
Reply with quote

I have encountered with the same issue.Do i need to modify anything.i have already tried with TEST2 option as well.
Please find the input parms.
INCLCNTL :
OPTION VLSHRT
INCLUDE COND=((853,10,CH,LE,C'2009/200'))
INREC FIELDS=(1,4,
9,6,C' ',
809,44,C' ',
119,10,C' ',
322,8,C' ',
318,4,C' ',
1326,5,C' ',
1058,8,C' ',
853,10,C' ',
863,6,C' ',
220,10,C' ',
230,10,C' ')
SORT FIELDS=(5,6,CH,A,
12,44,CH,A)
PARMLIST :
OPTION RESINV=0,ARESINV=0,MSGDDN=DFSMSG,SORTIN=INDD,SORTOUT=TEMP,SORTDD=INCL,DYNALLOC
WER428I CALLER-PROVIDED IDENTIFIER IS "0001"
WER276B SYSDIAG= 1522874, 2448356, 2448356, 1072419
WER164B 16,452K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 16,064K BYTES USED
WER108I INDD : RECFM=VB ; LRECL= 7004; BLKSIZE= 27998
WER257I INREC RECORD LENGTH = 136
WER110I TEMP : RECFM=VB ; LRECL= 136; BLKSIZE= 27998
WER410B 15,424K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B 0 BYTES RESERVE REQUESTED, 15,424K BYTES USED
WER036B G=882,SEGLEN=4752
WER244A INREC - SHORT RECORD
WER055I INSERT 0, DELETE 193620
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2158
Location: @my desk

PostPosted: Fri Jul 30, 2010 3:54 pm    Post subject:
Reply with quote

Did you try VLTESTI option?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jul 30, 2010 3:59 pm    Post subject:
Reply with quote

Just as a curiosity, which report are you trying to generate. From my experience RMM comes with a complete set of pre defined reports. Is this something you are trying for yourself or the IBM supplied reports.
Back to top
View user's profile Send private message
Yamini C

New User


Joined: 02 Jul 2010
Posts: 14
Location: India

PostPosted: Fri Jul 30, 2010 5:41 pm    Post subject:
Reply with quote

Yup. I am using REPORT3- EDGGR03 Inventory List by Volume Serial and submitted it.It had " OPTION VLSHRT,VLSCMP,NOCHALT " in the option statament and job abended with SYNTAX ERROR IN OPTION.
Hence i removed VLSCMP,NOCHALT. Now getting the INREC SHORT LENGTH error.

VLTEST1 did not work either.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2158
Location: @my desk

PostPosted: Fri Jul 30, 2010 6:20 pm    Post subject:
Reply with quote

Yamini C wrote:
VLTEST1 did not work either.
It's VLTESTI and NOT VLTEST1.
It would be better if you show us the JCL you submitted
Back to top
View user's profile Send private message
Yamini C

New User


Joined: 02 Jul 2010
Posts: 14
Location: India

PostPosted: Fri Jul 30, 2010 6:31 pm    Post subject:
Reply with quote

//WRITE1 EXEC PGM=ICETOOL,PARM='VLTEST1=1'
Back to top
View user's profile Send private message
Yamini C

New User


Joined: 02 Jul 2010
Posts: 14
Location: India

PostPosted: Fri Jul 30, 2010 6:32 pm    Post subject:
Reply with quote

//WRITE1 EXEC PGM=ICETOOL,PARM='VLTESTI=1'
tried both icon_smile.gif
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2158
Location: @my desk

PostPosted: Mon Aug 02, 2010 4:56 pm    Post subject:
Reply with quote

Yamini C wrote:
//WRITE1 EXEC PGM=ICETOOL,PARM='VLTESTI=1'
tried both icon_smile.gif
AFAIK, there's NO such option as VLTEST1. There is only VLTEST and VLTESTI. As per the manual,

VLTEST is used to handle records not long enough to contain all of the control fields specified in the SORT/MERGE control statement. It's default value is '1' which terminates the step on encountering a short record.

VLTESTI deals with handling variable length records during INCLUDE/OMIT pocessing.

Since your application is doing both INCLUDE and SORT processing, you might need to consider both the parameters mentioned above.
Back to top
View user's profile Send private message
Yamini C

New User


Joined: 02 Jul 2010
Posts: 14
Location: India

PostPosted: Tue Aug 03, 2010 2:58 pm    Post subject:
Reply with quote

Thank you.
I have tried with both the parms with/without OPTION VLSHRT.
Now i am getting the message:
PARMLIST :
OPTION RESINV=0,ARESINV=0,MSGDDN=DFSMSG,SORTIN=INDD,SORTOUT=TEMP,SORTDD=INCL,DY
ALLOC
WER428I CALLER-PROVIDED IDENTIFIER IS "0001"
WER276B SYSDIAG= 1494626, 2415858, 2415858, 1069231
WER164B 15,488K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 15,060K BYTES USED
WER108I INDD : RECFM=VB ; LRECL= 7004; BLKSIZE= 27998
WER257I INREC RECORD LENGTH = 136
WER110I TEMP : RECFM=VB ; LRECL= 136; BLKSIZE= 27998
WER410B 14,460K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B 0 BYTES RESERVE REQUESTED, 14,460K BYTES USED
WER036B G=827,SEGLEN=4448
WER250A INCLUDE/OMIT FIELD BEYOND RECORD
WER055I INSERT 0, DELETE 0
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE

The code used:
//STEP11 EXEC PGM=SYNCTOOL,PARM='VLTESTI=1,VLTEST'
....
INCLCNTL :
INCLUDE COND=((853,10,CH,LE,C'2010/190'))
INREC FIELDS=(1,4,
9,6,C' ',
809,44,C' ',
119,10,C' ',
322,8,C' ',
318,4,C' ',
1326,5,C' ',
1058,8,C' ',
853,10,C' ',
863,6,C' ',
220,10,C' ',
230,10,C' ')
SORT FIELDS=(5,6,CH,A,
12,44,CH,A)
VLTESTI was for INCLUDE Statements right..it didnot select any record. i used VLTESTI=1 as well.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 1 Fri Dec 02, 2016 9:47 am
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am
No new posts sort with previous record anatol DFSORT/ICETOOL 9 Thu Oct 06, 2016 2:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us