Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to identify the VB records

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

New User


Joined: 24 Sep 2008
Posts: 15
Location: hyderabad

PostPosted: Mon Feb 01, 2010 3:50 pm    Post subject: how to identify the VB records
Reply with quote

Hi All,

I want to copy the records from one PS file to another PS file.

The Input file LRECL =150 and RECFM=FB and ctreate an output file with
LRECL = 154 and RECFM=VB

In VB,lrecl contains actual record length plus 4 bytes..

My doubt is where it will store the four bytes...

My JCL

//IDCAMS EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=AM878J.SORT.TEST1
//SYSUT2 DD DSN=AM878J.SORT.TEST.OUTPUT2,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(100,010),RLSE),
// DCB=(LRECL=154,BLKSIZE=,RECFM=VB)
//SYSIN DD *
REPRO INFILE(SYSUT1) -
OUTFILE(SYSUT2)
//SYSOUT DD SYSOUT=*
//*


In output file i am not able to see any extra fout bytes...

Thanks,
kanna.R
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: Mon Feb 01, 2010 3:56 pm    Post subject:
Reply with quote

I would search the forum for a sort solution to convert FB to VB.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Feb 01, 2010 3:58 pm    Post subject:
Reply with quote

Quote:
My doubt is where it will store the four bytes...

Hope this helps...
http://publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zconcepts/zconcepts_159.htm
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 sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us