IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL (DATA SET CONVERSION FROM FB to VB)


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ramankapoor

New User


Joined: 27 Feb 2006
Posts: 23
Location: delhi

PostPosted: Tue Feb 28, 2006 10:03 am
Reply with quote

How can i convert fixed block data set to a variable block data set
Back to top
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Tue Feb 28, 2006 12:55 pm
Reply with quote

Hi,
see the post

www.ibmmainframes.com/about3968.html

Hope u will get the answer.
Back to top
View user's profile Send private message
ramankapoor

New User


Joined: 27 Feb 2006
Posts: 23
Location: delhi

PostPosted: Wed Mar 01, 2006 10:35 am
Reply with quote

what is the meaning of the line
INREC FIELDS=(01:01,06,07:4Z,88:2620,1)
how we are puting fields information in this card. pls suggest..

i am having a problem while submitting the job . the problem its showing in spool is
-->open error sysin.

pls suggest.

the control card i m using is -->

SYSUT1 DD *
INREC FIELDS=(01:01,06,07:4Z,88:2620,1)
SORT FIELDS = COPY
OUTREC FIELDS=(01:07,82),CONVERT
END
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Wed Mar 01, 2006 11:03 am
Reply with quote

Hi
try this...

Code:

//FBVB JOB .......
//S1        EXEC PGM=SORT
//SYSOUT    DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN    DD DSN=A123456.SORT.SAMPIN,DISP=SHR
//VBOUT   DD DSN=A123456.SORT.VSAMP,DISP=(NEW,CATLG,DELETE),
//          UNIT=3390,SPACE=(CYL,(5,5))
//SYSIN   DD *
 OPTION COPY
 OUTFIL FNAMES=VBOUT,FTOV
/*


If the LRECL of SORT.SAMPIN is 100 bytes, each VB record in SORT.VSAMP is 104 bytes (the FB record length of 100 plus 4 for the RDW) and SORT.VSAMP is given an LRECL of 104

corrections welcomed..........

Thanks,
Rajesh
Back to top
View user's profile Send private message
ramankapoor

New User


Joined: 27 Feb 2006
Posts: 23
Location: delhi

PostPosted: Wed Mar 01, 2006 11:18 am
Reply with quote

Its Giving Error like this :


ICE005A 0 STATEMENT DEFINER ERROR
OUTFIL FNAMES=VBOUT,FTOV
$
ICE005A 0 STATEMENT DEFINER ERROR
ICE010A 0 NO SORT OR MERGE CONTROL STATEMENT
ICE052I 3 END OF DFSORT
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Wed Mar 01, 2006 11:58 am
Reply with quote

did u gave space before the sort stmts
Back to top
View user's profile Send private message
ramankapoor

New User


Joined: 27 Feb 2006
Posts: 23
Location: delhi

PostPosted: Wed Mar 01, 2006 12:02 pm
Reply with quote

NO. I was actuly not ending it properly. well thanks
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Wed Mar 01, 2006 12:09 pm
Reply with quote

did u got that..........
Back to top
View user's profile Send private message
ramankapoor

New User


Joined: 27 Feb 2006
Posts: 23
Location: delhi

PostPosted: Wed Mar 01, 2006 12:10 pm
Reply with quote

Yes I got That .Thanks a lot
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed Mar 01, 2006 9:07 pm
Reply with quote

For information on FB to VB conversion with DFSORT, see:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/srtmst03.html#t09

Quote:
what is the meaning of the line
INREC FIELDS=(01:01,06,07:4Z,88:2620,1)
how we are puting fields information in this card


01:01,06 - put input positions 1-6 in output positions 1-6
07:4Z - put four binary zeros (4X'00') in output positions 7-10
88:2620,1 - put blanks in output positions 11-87 and put input position 2620 in output position 88.

Quote:
am having a problem while submitting the job . the problem its showing in spool is
-->open error sysin.

pls suggest.

the control card i m using is -->

SYSUT1 DD *
INREC FIELDS=(01:01,06,07:4Z,88:2620,1)
SORT FIELDS = COPY
OUTREC FIELDS=(01:07,82),CONVERT
END


You're getting the open error because you're using //SYSUT1 DD * for the control statements instead of //SYSIN DD *.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 3
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts 10 byte RBA conversion DB2 2
Search our Forums:

Back to Top